mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2026-06-16 01:02:14 +08:00
refactor: 统一数据持久化目录
This commit is contained in:
@@ -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
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user