From 542f43534243ca15cf469364094206dc50e5d85a Mon Sep 17 00:00:00 2001 From: wanghe-fit2cloud Date: Wed, 2 Aug 2023 17:41:12 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E4=BF=AE=E6=94=B9=20domain-admin?= =?UTF-8?q?=20=E6=8C=81=E4=B9=85=E5=8C=96=E7=9B=AE=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/domain-admin/1.5.8/.env.sample | 3 --- apps/domain-admin/1.5.8/data.yml | 10 +--------- apps/domain-admin/1.5.8/docker-compose.yml | 5 ++--- 3 files changed, 3 insertions(+), 15 deletions(-) delete mode 100755 apps/domain-admin/1.5.8/.env.sample diff --git a/apps/domain-admin/1.5.8/.env.sample b/apps/domain-admin/1.5.8/.env.sample deleted file mode 100755 index 32dd5b37..00000000 --- a/apps/domain-admin/1.5.8/.env.sample +++ /dev/null @@ -1,3 +0,0 @@ -CONTAINER_NAME="domain-admin" -PANEL_APP_PORT_HTTP="40076" -DATA_PATH="./data" diff --git a/apps/domain-admin/1.5.8/data.yml b/apps/domain-admin/1.5.8/data.yml index 8ce22085..49b4387e 100755 --- a/apps/domain-admin/1.5.8/data.yml +++ b/apps/domain-admin/1.5.8/data.yml @@ -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 \ No newline at end of file diff --git a/apps/domain-admin/1.5.8/docker-compose.yml b/apps/domain-admin/1.5.8/docker-compose.yml index c3de289b..a5eeffb1 100755 --- a/apps/domain-admin/1.5.8/docker-compose.yml +++ b/apps/domain-admin/1.5.8/docker-compose.yml @@ -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