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
+1 -15
View File
@@ -7,18 +7,4 @@ additionalProperties:
labelZh: 网页端口
required: true
rule: paramPort
type: number
- default: ./data/data
edit: true
envKey: DATA_PATH
labelEn: Data folder path
labelZh: 数据文件夹路径
required: true
type: text
- default: ./data/mnt
edit: true
envKey: MOUNT_PATH
labelEn: Mount folder path
labelZh: 挂载文件夹路径
required: true
type: text
type: number
+8 -9
View File
@@ -1,18 +1,17 @@
version: '2'
version: '3'
services:
qinglong:
# alpine 基础镜像版本
image: whyour/qinglong:2.15.17
container_name: ${CONTAINER_NAME} #固定写法,勿改
networks:
container_name: ${CONTAINER_NAME}
networks:
- 1panel-network
# debian-slim 基础镜像版本
# image: whyour/qinglong:debian
volumes:
- "${DATA_PATH}:/opt/qinglong/data"
- ./data:/ql/data
ports:
- "${PANEL_APP_PORT_HTTP}:5700"
restart: always
networks:
1panel-network:
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true