refactor: 统一数据持久化目录

This commit is contained in:
wanghe-fit2cloud
2023-07-13 15:34:02 +08:00
parent 7cb4c87e4b
commit ec37473fb4
69 changed files with 61 additions and 179 deletions
-7
View File
@@ -8,13 +8,6 @@ additionalProperties:
required: true
rule: paramPort
type: number
- default: ./data
edit: true
envKey: DATA_PATH
labelEn: Data folder path
labelZh: 数据文件夹路径
required: true
type: text
- default: AESPWD
envKey: AES_PWD
labelEn: AES encryption key
+2 -3
View File
@@ -1,4 +1,4 @@
version: "3"
version: '3'
services:
qiandao:
container_name: ${CONTAINER_NAME}
@@ -8,7 +8,7 @@ services:
ports:
- "${PANEL_APP_PORT_HTTP}:80"
volumes:
- "${DATA_PATH}:/usr/src/app/config"
- ./data:/usr/src/app/config
environment:
# 监听地址
# - BIND=0.0.0.0
@@ -147,7 +147,6 @@ services:
# image: a76yyyy/qiandao:lite-latest
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true