Normalize the save path of service data
This commit is contained in:
parent
8c5023f717
commit
6b511b5c59
5 changed files with 12 additions and 12 deletions
|
@ -6,7 +6,7 @@ services:
|
||||||
service: web
|
service: web
|
||||||
volumes:
|
volumes:
|
||||||
- ./nginx/web.conf:/etc/nginx/nginx.conf
|
- ./nginx/web.conf:/etc/nginx/nginx.conf
|
||||||
- ./cloud/logs/nginx:/var/log/nginx
|
- ./nginx/logs/nginx:/var/log/nginx
|
||||||
depends_on:
|
depends_on:
|
||||||
core:
|
core:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
|
@ -28,7 +28,7 @@ services:
|
||||||
MARIADB_RANDOM_ROOT_PASSWORD: "yes"
|
MARIADB_RANDOM_ROOT_PASSWORD: "yes"
|
||||||
MARIADB_MYSQL_LOCALHOST_USER: 1
|
MARIADB_MYSQL_LOCALHOST_USER: 1
|
||||||
volumes:
|
volumes:
|
||||||
- ./cloud/database:/var/lib/mysql
|
- ./data/db:/var/lib/mysql
|
||||||
command:
|
command:
|
||||||
- --innodb_read_only_compressed=OFF
|
- --innodb_read_only_compressed=OFF
|
||||||
healthcheck:
|
healthcheck:
|
||||||
|
@ -46,7 +46,7 @@ services:
|
||||||
env_file:
|
env_file:
|
||||||
- cache.env
|
- cache.env
|
||||||
volumes:
|
volumes:
|
||||||
- ./cloud/cache:/data
|
- ./data/cache:/data
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: [CMD, bash, -c, echo '' > /dev/tcp/127.0.0.1/6379]
|
test: [CMD, bash, -c, echo '' > /dev/tcp/127.0.0.1/6379]
|
||||||
interval: 5s
|
interval: 5s
|
||||||
|
@ -88,7 +88,7 @@ services:
|
||||||
image: shenxn/protonmail-bridge
|
image: shenxn/protonmail-bridge
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
volumes:
|
volumes:
|
||||||
- ./bridge:/root
|
- ./data/bridge:/root
|
||||||
turn:
|
turn:
|
||||||
image: instrumentisto/coturn
|
image: instrumentisto/coturn
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
|
@ -4,11 +4,11 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- webroot:/var/www/html:z
|
- webroot:/var/www/html:z
|
||||||
- ./php.ini:/usr/local/etc/php/conf.d/nextcloud.ini
|
- ./php.ini:/usr/local/etc/php/conf.d/nextcloud.ini
|
||||||
- ./cloud/apps:/var/www/html/custom_apps
|
- ./data/cloud/apps:/var/www/html/custom_apps
|
||||||
- ./cloud/config:/var/www/html/config
|
- ./data/cloud/config:/var/www/html/config
|
||||||
- ./cloud/data:/var/www/html/data
|
- ./data/cloud/data:/var/www/html/data
|
||||||
- ./cloud/themes:/var/www/html/themes
|
- ./data/cloud/themes:/var/www/html/themes
|
||||||
- ./cloud/public:/public
|
- ./data/public:/public
|
||||||
- ../jellyfin/downloads:/downloads
|
- ../jellyfin/downloads:/downloads
|
||||||
setup:
|
setup:
|
||||||
extends:
|
extends:
|
||||||
|
|
|
@ -18,4 +18,4 @@ services:
|
||||||
environment:
|
environment:
|
||||||
MARIADB_RANDOM_ROOT_PASSWORD: "yes"
|
MARIADB_RANDOM_ROOT_PASSWORD: "yes"
|
||||||
volumes:
|
volumes:
|
||||||
- ./database:/var/lib/mysql
|
- ./data/db:/var/lib/mysql
|
||||||
|
|
|
@ -25,4 +25,4 @@ services:
|
||||||
image: shenxn/protonmail-bridge
|
image: shenxn/protonmail-bridge
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
volumes:
|
volumes:
|
||||||
- ./bridge:/root
|
- ./data/bridge:/root
|
||||||
|
|
|
@ -21,7 +21,7 @@ services:
|
||||||
command: mongod --logpath /dev/null --oplogSize 128 --quiet
|
command: mongod --logpath /dev/null --oplogSize 128 --quiet
|
||||||
volumes:
|
volumes:
|
||||||
- /etc/localtime:/etc/localtime:ro
|
- /etc/localtime:/etc/localtime:ro
|
||||||
- ./data/database:/data/db
|
- ./data/db:/data/db
|
||||||
bridge:
|
bridge:
|
||||||
image: shenxn/protonmail-bridge
|
image: shenxn/protonmail-bridge
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
Loading…
Reference in a new issue