use full storage path not path to volumes

This commit is contained in:
Florian Zirker 2024-10-24 14:07:46 +00:00
parent a69a5991b3
commit c6bf4e3fa0
8 changed files with 22 additions and 22 deletions

View file

@ -3,7 +3,7 @@ services:
syncserver:
image: mozilla/syncserver:latest
volumes:
- ${VOLUMES_PATH}/firefoxsync/syncserver:/data
- ${STORAGE_PATH}/syncserver:/data
user: ${UID}:${GID}
networks:
- web
@ -38,7 +38,7 @@ services:
networks:
- firefoxsync
volumes:
- ${VOLUMES_PATH}/firefoxsync/db:/var/lib/postgresql/data
- ${STORAGE_PATH}/db:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U ${POSTGRES_USER}"]
interval: 10s

View file

@ -3,7 +3,7 @@ services:
forgejo:
image: codeberg.org/forgejo/forgejo:${FORGEJO_VERSION}
volumes:
- ${VOLUMES_PATH}/git/forgejo_data:/data
- ${STORAGE_PATH}/forgejo_data:/data
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
ports:
@ -51,7 +51,7 @@ services:
networks:
- git
volumes:
- ${VOLUMES_PATH}/git/forgejo_db:/var/lib/postgresql/data
- ${STORAGE_PATH}/forgejo_db:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U ${POSTGRES_USER}"]
interval: 10s

View file

@ -40,7 +40,7 @@ services:
networks:
- news
volumes:
- ${VOLUMES_PATH}/news/db:/var/lib/postgresql/data
- ${STORAGE_PATH}/db:/var/lib/postgresql/data
healthcheck:
test: ["CMD", "pg_isready", "-U", "miniflux"]
interval: 10s

View file

@ -5,7 +5,7 @@ services:
depends_on:
- app
volumes:
- ${VOLUMES_PATH}/nextcloud/html:/var/www/html:ro
- ${STORAGE_PATH}/html:/var/www/html:ro
- $PWD/nginx.conf:/etc/nginx/nginx.conf:ro
restart: unless-stopped
networks:
@ -38,8 +38,8 @@ services:
args:
- NC_MAIN_VERSION=${NC_MAIN_VERSION}
volumes:
- ${VOLUMES_PATH}/nextcloud/html:/var/www/html
- ${VOLUMES_PATH}/nextcloud/data:/var/www/html/data
- ${STORAGE_PATH}/html:/var/www/html
- ${STORAGE_PATH}/data:/var/www/html/data
- type: tmpfs
target: /tmp
restart: unless-stopped
@ -70,8 +70,8 @@ services:
networks:
- nextcloud
volumes:
- ${VOLUMES_PATH}/nextcloud/html:/var/www/html
- ${VOLUMES_PATH}/nextcloud/data:/var/www/html/data
- ${STORAGE_PATH}/html:/var/www/html
- ${STORAGE_PATH}/data:/var/www/html/data
entrypoint: /cron.sh
depends_on:
- db
@ -89,8 +89,8 @@ services:
- web
- nextcloud
volumes:
- ${VOLUMES_PATH}/nextcloud/html:/var/www/html:ro
- ${VOLUMES_PATH}/nextcloud/data:/var/www/html/data:ro
- ${STORAGE_PATH}/html:/var/www/html:ro
- ${STORAGE_PATH}/data:/var/www/html/data:ro
environment:
- PORT=7867
- NEXTCLOUD_URL=http://web
@ -111,7 +111,7 @@ services:
image: mariadb:${MARIADB_VERSION}
command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW --skip-innodb-read-only-compressed
volumes:
- ${VOLUMES_PATH}/nextcloud/db:/var/lib/mysql
- ${STORAGE_PATH}/db:/var/lib/mysql
restart: unless-stopped
environment:
- PUID=1000
@ -167,7 +167,7 @@ services:
networks:
- nextcloud
volumes:
- ${VOLUMES_PATH}/nextcloud/redis:/data
- ${STORAGE_PATH}/redis:/data
healthcheck:
test: ["CMD", "redis-cli", "ping"]
interval: 5s
@ -212,7 +212,7 @@ services:
networks:
- nextcloud
volumes:
- ${VOLUMES_PATH}/nextcloud/fonts:/usr/share/fonts/drawio
- ${STORAGE_PATH}/fonts:/usr/share/fonts/drawio
restart: unless-stopped
labels:
- "docker.group=netxtcloud"

View file

@ -41,7 +41,7 @@ services:
- web
- dockersocket
volumes:
- ${VOLUMES_PATH}/proxy/letsencrypt:/letsencrypt
- ${STORAGE_PATH}/letsencrypt:/letsencrypt
- $PWD/tls.toml:/etc/traefik/tls.toml
healthcheck:
test: traefik healthcheck --ping

View file

@ -22,8 +22,8 @@ services:
- NTFY_ENABLE_LOGIN=true
- NTFY_ENABLE_RESERVATIONS=false
volumes:
- ${VOLUMES_PATH}/push/ntfy/cache/:/var/cache/ntfy
- ${VOLUMES_PATH}/push/ntfy/varlib/:/var/lib/ntfy/
- ${STORAGE_PATH}/ntfy/cache/:/var/cache/ntfy
- ${STORAGE_PATH}/ntfy/varlib/:/var/lib/ntfy/
labels:
- "traefik.enable=true"
- "traefik.http.routers.push.rule=Host(`${FQDN_PUSH}`)"

View file

@ -9,7 +9,7 @@ services:
image: rustdesk/rustdesk-server:${RUSTDESK_VERSION}
command: hbbs -r ${DOMAIN}:21117 -k _
volumes:
- ${VOLUMES_PATH}/rustdesk:/root
- ${STORAGE_PATH}:/root
networks:
- rustdesk
depends_on:
@ -26,7 +26,7 @@ services:
image: rustdesk/rustdesk-server:latest
command: hbbr -k _
volumes:
- ${VOLUMES_PATH}/rustdesk:/root
- ${STORAGE_PATH}:/root
networks:
- rustdesk
restart: unless-stopped

View file

@ -20,7 +20,7 @@ services:
- web
- wallabag
volumes:
- ${VOLUMES_PATH}/wallabag/images:/var/www/wallabag/web/assets/images
- ${STORAGE_PATH}/images:/var/www/wallabag/web/assets/images
healthcheck:
test: ["CMD", "curl" ,"--fail", "http://localhost/api/info"]
interval: 10s
@ -44,7 +44,7 @@ services:
networks:
- wallabag
volumes:
- /var/dockervolumes/wallabag/db:/var/lib/mysql
- ${STORAGE_PATH}/db:/var/lib/mysql
labels:
- "docker.group=wallabag"