Normalize the save path of service data

This commit is contained in:
Manuel Thalmann 2024-11-27 03:02:59 +01:00
parent 38d8eeedde
commit 9b7f9275c9
5 changed files with 12 additions and 12 deletions

View file

@ -6,7 +6,7 @@ services:
service: web
volumes:
- ./nginx/web.conf:/etc/nginx/nginx.conf
- ./cloud/logs/nginx:/var/log/nginx
- ./nginx/logs/nginx:/var/log/nginx
depends_on:
core:
condition: service_healthy
@ -28,7 +28,7 @@ services:
MARIADB_RANDOM_ROOT_PASSWORD: "yes"
MARIADB_MYSQL_LOCALHOST_USER: 1
volumes:
- ./cloud/database:/var/lib/mysql
- ./data/db:/var/lib/mysql
command:
- --innodb_read_only_compressed=OFF
healthcheck:
@ -46,7 +46,7 @@ services:
env_file:
- cache.env
volumes:
- ./cloud/cache:/data
- ./data/cache:/data
healthcheck:
test: [CMD, bash, -c, echo '' > /dev/tcp/127.0.0.1/6379]
interval: 5s
@ -88,7 +88,7 @@ services:
image: shenxn/protonmail-bridge
restart: unless-stopped
volumes:
- ./bridge:/root
- ./data/bridge:/root
turn:
image: instrumentisto/coturn
restart: unless-stopped

View file

@ -4,11 +4,11 @@ services:
volumes:
- webroot:/var/www/html:z
- ./php.ini:/usr/local/etc/php/conf.d/nextcloud.ini
- ./cloud/apps:/var/www/html/custom_apps
- ./cloud/config:/var/www/html/config
- ./cloud/data:/var/www/html/data
- ./cloud/themes:/var/www/html/themes
- ./cloud/public:/public
- ./data/cloud/apps:/var/www/html/custom_apps
- ./data/cloud/config:/var/www/html/config
- ./data/cloud/data:/var/www/html/data
- ./data/cloud/themes:/var/www/html/themes
- ./data/public:/public
- ../jellyfin/downloads:/downloads
setup:
extends:

View file

@ -18,4 +18,4 @@ services:
environment:
MARIADB_RANDOM_ROOT_PASSWORD: "yes"
volumes:
- ./database:/var/lib/mysql
- ./data/db:/var/lib/mysql

View file

@ -25,4 +25,4 @@ services:
image: shenxn/protonmail-bridge
restart: unless-stopped
volumes:
- ./bridge:/root
- ./data/bridge:/root

View file

@ -21,7 +21,7 @@ services:
command: mongod --logpath /dev/null --oplogSize 128 --quiet
volumes:
- /etc/localtime:/etc/localtime:ro
- ./data/database:/data/db
- ./data/db:/data/db
bridge:
image: shenxn/protonmail-bridge
restart: unless-stopped