Processed apps directory via GitHub Actions

This commit is contained in:
QYG2297248353
2026-01-26 04:17:07 +00:00
parent 2365063ae7
commit fb0e44289f
59 changed files with 328 additions and 12 deletions
+12
View File
@@ -0,0 +1,12 @@
# 数据持久化路径 [必填]
MX_SERVER_ROOT_PATH=/home/mx-space
# WebUI 端口 [必填]
PANEL_APP_PORT_HTTP=2333
# JWT 密钥 [必填]
JWT_SECRET=
# 允许的访问来源 [必填]
ALLOWED_ORIGINS=,localhost
+31
View File
@@ -0,0 +1,31 @@
additionalProperties:
formFields:
- default: "/home/mx-space"
edit: true
envKey: MX_SERVER_ROOT_PATH
labelZh: 数据持久化路径
labelEn: Data persistence path
required: true
type: text
- default: 2333
edit: true
envKey: PANEL_APP_PORT_HTTP
labelZh: WebUI 端口
labelEn: WebUI port
required: true
rule: paramPort
type: number
- default: ""
edit: true
envKey: JWT_SECRET
labelZh: JWT 密钥
labelEn: JWT Secret
required: true
type: text
- default: ",localhost"
edit: true
envKey: ALLOWED_ORIGINS
labelZh: 允许的访问来源
labelEn: 允许的访问来源
required: true
type: text
@@ -0,0 +1,46 @@
networks:
1panel-network:
external: true
services:
mx-mongo:
container_name: mongo-mx-space-db
image: mongo
networks:
- 1panel-network
restart: always
volumes:
- ${MX_SERVER_ROOT_PATH}/db:/data/db
mx-redis:
container_name: redis-mx-space-db
image: redis:alpine
networks:
- 1panel-network
restart: always
volumes:
- ${MX_SERVER_ROOT_PATH}/redis:/data
mx-server:
container_name: mx-space-db
depends_on:
- mx-mongo
- mx-redis
env_file:
- ./envs/global.env
- .env
environment:
- TZ=Asia/Shanghai
- PORT=2333
- DEMO=false
- NODE_ENV=production
- ENCRYPT_ENABLE=false
- DB_HOST=mx-mongo
- REDIS_HOST=mx-redis
image: innei/mx-server:9.0.0
labels:
createdBy: Apps
networks:
- 1panel-network
ports:
- ${PANEL_APP_PORT_HTTP}:2333
restart: always
volumes:
- ${MX_SERVER_ROOT_PATH}/data:/root/.mx-space
@@ -0,0 +1,2 @@
# copyright© 2024 XinJiang Ms Studio
ENV_FILE=.env
@@ -0,0 +1,2 @@
# copyright© 2024 XinJiang Ms Studio
TZ=Asia/Shanghai
@@ -0,0 +1,17 @@
#!/bin/bash
if [ -f .env ]; then
source .env
# setup-1 add default values
CURRENT_DIR=$(pwd)
sed -i '/^ENV_FILE=/d' .env
sed -i '/^GLOBAL_ENV_FILE=/d' .env
echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env
echo "GLOBAL_ENV_FILE=${CURRENT_DIR}/envs/global.env" >> .env
echo "Check Finish."
else
echo "Error: .env file not found."
fi
@@ -0,0 +1,10 @@
#!/bin/bash
if [ -f .env ]; then
source .env
echo "Check Finish."
else
echo "Error: .env file not found."
fi
@@ -0,0 +1,17 @@
#!/bin/bash
if [ -f .env ]; then
source .env
# setup-1 add default values
CURRENT_DIR=$(pwd)
sed -i '/^ENV_FILE=/d' .env
sed -i '/^GLOBAL_ENV_FILE=/d' .env
echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env
echo "GLOBAL_ENV_FILE=${CURRENT_DIR}/envs/global.env" >> .env
echo "Check Finish."
else
echo "Error: .env file not found."
fi