完善应用 AMMDS
Signed-off-by: Meng Sen <qyg2297248353@gmail.com>
This commit is contained in:
parent
0100b5ab33
commit
99c61dec9b
|
|
@ -31,6 +31,14 @@ additionalProperties:
|
|||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
- default: 9523
|
||||
edit: true
|
||||
envKey: PANEL_APP_PORT_API
|
||||
labelZh: API 端口
|
||||
labelEn: API port
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
- default: ""
|
||||
edit: true
|
||||
envKey: AMMDS_METATUBE_URL
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ services:
|
|||
restart: always
|
||||
network_mode: ${NETWORK_MODE}
|
||||
ports:
|
||||
- ${PANEL_APP_PORT_HTTP}:80
|
||||
- ${PANEL_APP_PORT_HTTP}:${PANEL_APP_PORT_HTTP}
|
||||
env_file:
|
||||
- ${GLOBAL_ENV_FILE:-/etc/1panel/envs/global.env}
|
||||
- ${ENV_FILE:-/etc/1panel/envs/default.env}
|
||||
|
|
@ -24,3 +24,5 @@ services:
|
|||
- ${CUSTOM_MOUNT_DIRECTORY_3:-./default_mount_3}:${CUSTOM_MOUNT_DIRECTORY_3:-/default_mount_3}
|
||||
environment:
|
||||
- TZ=Asia/Shanghai
|
||||
- NGINX_PORT=${PANEL_APP_PORT_HTTP:8080}
|
||||
- AMMDS_SERVER_PORT=${PANEL_APP_PORT_API:9523}
|
||||
|
|
|
|||
Loading…
Reference in New Issue