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

View File

@ -26,7 +26,6 @@ services:
image: adguard/adguardhome:v0.107.33
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true

View File

@ -1,4 +1,4 @@
version: "3"
version: '3'
services:
adminer:
image: adminer:4.8.1-standalone

View File

@ -8,17 +8,3 @@ additionalProperties:
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

View File

@ -8,8 +8,8 @@ services:
ports:
- "${PANEL_APP_PORT_HTTP}:5244"
volumes:
- "${DATA_PATH}:/opt/alist/data"
- "${MOUNT_PATH}:/mnt/data"
- ./data/data:/opt/alist/data
- ./data/mnt:/mnt/data
environment:
- PUID=0
- PGID=0
@ -17,7 +17,6 @@ services:
image: xhofe/alist:v3.21.0
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true

View File

@ -8,10 +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,11 +8,10 @@ services:
ports:
- "${PANEL_APP_PORT_HTTP}:80"
volumes:
- "${DATA_PATH}:/data"
- ./data:/data
image: vaultwarden/server:1.29.0-alpine
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true

View File

@ -16,7 +16,6 @@ services:
image: cloudreve/cloudreve:3.8.0
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true

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: code
envKey: WEB_PASSWORD
labelEn: Web access password

View File

@ -8,7 +8,7 @@ services:
ports:
- "${PANEL_APP_PORT_HTTP}:8443"
volumes:
- "${DATA_PATH}:/config"
- ./data:/config
environment:
- PUID=1000
- PGID=1000
@ -19,7 +19,6 @@ services:
image: linuxserver/code-server:4.14.1
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true

View File

@ -25,7 +25,6 @@ services:
- 1panel-network
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true

View File

@ -8,10 +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

@ -1,4 +1,4 @@
version: "3"
version: '3'
services:
ddns-go:
container_name: ${CONTAINER_NAME}
@ -8,11 +8,10 @@ services:
ports:
- "${PANEL_APP_PORT_HTTP}:9876"
volumes:
- "${DATA_PATH}:/root"
- ./data:/root
image: jeessy/ddns-go:v5.3.6
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true

View File

@ -12,7 +12,6 @@ services:
- ./data:/var/lib/registry
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true

View File

@ -62,13 +62,6 @@ additionalProperties:
required: true
rule: paramPort
type: number
- default: ./data
edit: true
envKey: DATA_PATH
labelEn: Data storage folder
labelZh: 数据存放文件夹
required: true
type: text
- default: http://localhost:40020
edit: true
envKey: FLARUM_EXTERNAL_URL

View File

@ -1,4 +1,4 @@
version: "3"
version: '3'
services:
flarum:
container_name: ${CONTAINER_NAME}
@ -8,7 +8,7 @@ services:
ports:
- "${PANEL_APP_PORT_HTTP}:8000"
volumes:
- "${DATA_PATH}:/data"
- ./data:/data
environment:
- TZ=Asia/Shanghai
- PUID=1000
@ -30,7 +30,7 @@ services:
- FLARUM_BASE_URL=${FLARUM_EXTERNAL_URL}
image: crazymax/flarum:1.8.0
labels:
createdBy: Apps
createdBy: "Apps"
networks:
1panel-network:
external: true

View File

@ -1,4 +1,4 @@
version: "3"
version: '3'
services:
gitea:
image: gitea/gitea:1.19.4
@ -23,7 +23,6 @@ services:
- "${PANEL_APP_PORT_SSH}:22"
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true

View File

@ -1,4 +1,4 @@
version: "3"
version: '3'
services:
halo:
image: halohub/halo:2.7.0
@ -26,7 +26,6 @@ services:
- --halo.security.initializer.superadminpassword=${HALO_ADMIN_PASSWORD}
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true

View File

@ -1,4 +1,4 @@
version: "3"
version: '3'
services:
jellyfin:
container_name: ${CONTAINER_NAME}
@ -14,7 +14,6 @@ services:
image: "jellyfin/jellyfin:10.8.10"
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true

View File

@ -16,7 +16,6 @@ services:
- 1panel-network
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true

View File

@ -1,4 +1,4 @@
version: "3"
version: '3'
services:
kubepi:
image: kubeoperator/kubepi-server:v1.6.4
@ -13,7 +13,6 @@ services:
privileged: true
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true

View File

@ -8,10 +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

@ -1,4 +1,4 @@
version: "3"
version: '3'
services:
lskypro:
container_name: ${CONTAINER_NAME}
@ -6,7 +6,7 @@ services:
networks:
- 1panel-network
volumes:
- "${DATA_PATH}:/var/www/html/"
- ./data:/var/www/html/
ports:
- "${PANEL_APP_PORT_HTTP}:8089"
environment:
@ -14,7 +14,6 @@ services:
image: halcyonazure/lsky-pro-docker:latest
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true

View File

@ -14,7 +14,6 @@ services:
MYSQL_ROOT_PASSWORD: ${PANEL_DB_ROOT_PASSWORD}
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true

View File

@ -1,4 +1,4 @@
version: "3"
version: '3'
services:
halo:
image: kingwrcy/mblog:1.0.9
@ -14,7 +14,6 @@ services:
- ${PANEL_APP_PORT_HTTP}:38321
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true

View File

@ -22,7 +22,6 @@ services:
- ./data:/data
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true

View File

@ -15,7 +15,6 @@ services:
- ./data:/data/db
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true

View File

@ -21,7 +21,6 @@ services:
createdBy: "Apps"
command:
- --default-authentication-plugin=mysql_native_password
networks:
1panel-network:
external: true

View File

@ -14,7 +14,6 @@ services:
- 1panel-network
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true

View File

@ -24,17 +24,3 @@ additionalProperties:
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/ssl
edit: true
envKey: SSL_PATH
labelEn: SSL folder path
labelZh: 证书文件夹路径
required: true
type: text

View File

@ -10,12 +10,11 @@ services:
- "${PANEL_APP_PORT_HTTP}:81"
- "${PANEL_APP_PORT_HTTP2}:443"
volumes:
- "${DATA_PATH}:/data"
- "${SSL_PATH}:/etc/letsencrypt"
- ./data/data:/data
- ./data/ssl:/etc/letsencrypt
image: jc21/nginx-proxy-manager:github-pr-3027
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true

View File

@ -1,4 +1,4 @@
version: "3"
version: '3'
services:
nps:
image: yisier1/nps:v0.26.16
@ -28,7 +28,6 @@ services:
- 1panel-network
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true

View File

@ -1,4 +1,4 @@
version: "3"
version: '3'
services:
1panel-php:
build:

View File

@ -1,4 +1,4 @@
version: "3"
version: '3'
services:
php:
image: ${IMAGE_NAME}

View File

@ -1,4 +1,4 @@
version: "3"
version: '3'
services:
1panel-php:
build:

View File

@ -1,4 +1,4 @@
version: "3"
version: '3'
services:
php:
image: ${IMAGE_NAME}

View File

@ -1,4 +1,4 @@
version: "3"
version: '3'
services:
1panel-php:
build:

View File

@ -1,4 +1,4 @@
version: "3"
version: '3'
services:
php:
image: ${IMAGE_NAME}

View File

@ -1,4 +1,4 @@
version: "3"
version: '3'
services:
1panel-php:
build:

View File

@ -1,4 +1,4 @@
version: "3"
version: '3'
services:
php:
image: ${IMAGE_NAME}

View File

@ -1,4 +1,4 @@
version: "3"
version: '3'
services:
1panel-php:
build:

View File

@ -1,4 +1,4 @@
version: "3"
version: '3'
services:
php:
image: ${IMAGE_NAME}

View File

@ -1,4 +1,4 @@
version: "3"
version: '3'
services:
1panel-php:
build:

View File

@ -1,4 +1,4 @@
version: "3"
version: '3'
services:
php:
image: ${IMAGE_NAME}

View File

@ -1,4 +1,4 @@
version: "3"
version: '3'
services:
1panel-php:
build:

View File

@ -1,4 +1,4 @@
version: "3"
version: '3'
services:
php:
image: ${IMAGE_NAME}

View File

@ -1,4 +1,4 @@
version: "3"
version: '3'
services:
1panel-php:
build:

View File

@ -1,4 +1,4 @@
version: "3"
version: '3'
services:
php:
image: ${IMAGE_NAME}

View File

@ -1,4 +1,4 @@
version: "3"
version: '3'
services:
1panel-php:
build:

View File

@ -1,4 +1,4 @@
version: "3"
version: '3'
services:
php:
image: ${IMAGE_NAME}

View File

@ -1,4 +1,4 @@
version: "3"
version: '3'
services:
1panel-php:
build:

View File

@ -1,4 +1,4 @@
version: "3"
version: '3'
services:
php:
image: ${IMAGE_NAME}

View File

@ -1,4 +1,4 @@
version: "3"
version: '3'
services:
1panel-php:
build:

View File

@ -1,4 +1,4 @@
version: "3"
version: '3'
services:
php:
image: ${IMAGE_NAME}

View File

@ -15,7 +15,6 @@ services:
- 1panel-network
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true

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

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

View File

@ -8,17 +8,3 @@ additionalProperties:
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

View File

@ -1,18 +1,17 @@
version: '2'
version: '3'
services:
qinglong:
# alpine 基础镜像版本
image: whyour/qinglong:2.15.17
container_name: ${CONTAINER_NAME} #固定写法,勿改
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
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true

View File

@ -1,6 +1,4 @@
networks:
1panel-network:
external: true
version: '3'
services:
redis-commander-XnlR:
container_name: ${CONTAINER_NAME}
@ -17,4 +15,6 @@ services:
ports:
- ${PANEL_APP_PORT_HTTP}:8081
restart: always
version: "3"
networks:
1panel-network:
external: true

View File

@ -15,7 +15,6 @@ services:
- ./logs:/logs
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true

View File

@ -15,7 +15,6 @@ services:
- ./logs:/logs
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true

View File

@ -1,4 +1,4 @@
version: "3"
version: '3'
services:
synapse:
container_name: ${CONTAINER_NAME}

View File

@ -1,4 +1,4 @@
version: "3"
version: '3'
services:
tailchat:
container_name: ${CONTAINER_NAME}
@ -25,7 +25,6 @@ services:
- ${PANEL_APP_PORT_HTTP}:11000
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true

View File

@ -24,7 +24,6 @@ services:
- ./data:/app
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true

View File

@ -13,7 +13,6 @@ services:
- ${PANEL_APP_PORT_HTTP}:3001
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true

View File

@ -1,4 +1,4 @@
version: "3"
version: '3'
services:
watchtower:
container_name: ${CONTAINER_NAME}
@ -14,7 +14,6 @@ services:
image: containrrr/watchtower
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true

View File

@ -1,4 +1,4 @@
version: "3"
version: '3'
services:
wiki:
image: requarks/wiki:2.5.299
@ -17,7 +17,6 @@ services:
DB_NAME: ${PANEL_DB_NAME}
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true

View File

@ -19,7 +19,6 @@ services:
WORDPRESS_DEBUG: 0
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true

View File

@ -15,7 +15,6 @@ services:
- 1panel-network
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true