refactor: 修改 domain-admin 持久化目录

This commit is contained in:
wanghe-fit2cloud 2023-08-02 17:41:12 +08:00
parent dc4a6143eb
commit 542f435342
3 changed files with 3 additions and 15 deletions

View File

@ -1,3 +0,0 @@
CONTAINER_NAME="domain-admin"
PANEL_APP_PORT_HTTP="40076"
DATA_PATH="./data"

View File

@ -8,11 +8,3 @@ additionalProperties:
required: true
rule: paramPort
type: number
- default: ./data
edit: true
envKey: DATA_PATH
labelEn: Data folder path
labelZh: 数据文件夹路径
required: true
type: text

View File

@ -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