refactor: 修改 domain-admin 持久化目录
This commit is contained in:
parent
7a76669f97
commit
a55754e3e1
|
|
@ -1,3 +0,0 @@
|
|||
CONTAINER_NAME="domain-admin"
|
||||
PANEL_APP_PORT_HTTP="40076"
|
||||
DATA_PATH="./data"
|
||||
|
|
@ -7,12 +7,4 @@ additionalProperties:
|
|||
labelZh: 端口
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
- default: ./data
|
||||
edit: true
|
||||
envKey: DATA_PATH
|
||||
labelEn: Data folder path
|
||||
labelZh: 数据文件夹路径
|
||||
required: true
|
||||
type: text
|
||||
|
||||
type: number
|
||||
|
|
@ -8,12 +8,11 @@ services:
|
|||
ports:
|
||||
- "${PANEL_APP_PORT_HTTP}:8000"
|
||||
volumes:
|
||||
- "${DATA_PATH}/database:/app/database"
|
||||
- "${DATA_PATH}/logs:/app/logs"
|
||||
- "./data/database:/app/database"
|
||||
- "./data/logs:/app/logs"
|
||||
image: mouday/domain-admin:v1.5.8
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
|
|
|
|||
Loading…
Reference in New Issue