Update app version [skip ci]

This commit is contained in:
github-action update-app-version
2026-04-02 10:05:52 +00:00
parent a2c24ddc7f
commit 9923ef1045
7 changed files with 0 additions and 0 deletions
+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,49 @@
networks:
1panel-network:
external: true
services:
mx-server:
image: innei/mx-server:11.0.14
depends_on:
- mx-mongo
- mx-redis
container_name: ${CONTAINER_NAME}
labels:
createdBy: "Apps"
restart: always
networks:
- 1panel-network
ports:
- ${PANEL_APP_PORT_HTTP}:2333
env_file:
- ${GLOBAL_ENV_FILE:-/etc/1panel/envs/global.env}
- ${ENV_FILE:-/etc/1panel/envs/default.env}
volumes:
- ${MX_SERVER_ROOT_PATH}/data:/root/.mx-space
environment:
- TZ=Asia/Shanghai
- PORT=2333
- DEMO=false
- NODE_ENV=production
- ENCRYPT_ENABLE=false
- DB_HOST=mx-mongo
- REDIS_HOST=mx-redis
mx-mongo:
image: mongo
container_name: mongo-${CONTAINER_NAME}
volumes:
- ${MX_SERVER_ROOT_PATH}/db:/data/db
networks:
- 1panel-network
restart: always
mx-redis:
image: redis:alpine
container_name: redis-${CONTAINER_NAME}
volumes:
- ${MX_SERVER_ROOT_PATH}/redis:/data
networks:
- 1panel-network
restart: always
@@ -0,0 +1,2 @@
# copyright© 2024 XinJiang Ms Studio
ENV_FILE=.env
+2
View File
@@ -0,0 +1,2 @@
# copyright© 2024 XinJiang Ms Studio
TZ=Asia/Shanghai
+17
View File
@@ -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