using volume type bind instead

This commit is contained in:
jonas@geiger-natur.de
2026-10-11 15:19:02 +02:00
parent 723bbb620d
commit 91446d45e2
6 changed files with 57 additions and 9 deletions
+6 -1
View File
@@ -12,7 +12,12 @@ services:
labels:
- rclone.storage=storagebox-crypt
volumes:
- /opt/media/storagebox/firefly/upload:/var/www/html/storage/upload
- type: bind
source: /opt/media/storagebox/firefly/upload
target: /var/www/html/storage/upload
bind:
propagation: rslave
create_host_path: false
healthcheck:
test:
[
+6 -1
View File
@@ -9,7 +9,12 @@ services:
labels:
- rclone.storage=storagebox-crypt
volumes:
- /opt/media/storagebox/immich/library:/usr/src/app/upload
- type: bind
source: /opt/media/storagebox/immich/library
target: /usr/src/app/upload
bind:
propagation: rslave
create_host_path: false
- /etc/localtime:/etc/localtime:ro
depends_on:
immich-redis:
+8 -1
View File
@@ -6,8 +6,15 @@ services:
limits:
cpus: "1.0"
memory: 1G
labels:
- rclone.storage=storagebox-crypt
volumes:
- /opt/media/storagebox/mealie:/app/data/
- type: bind
source: /opt/media/storagebox/mealie
target: /app/data/
bind:
propagation: rslave
create_host_path: false
healthcheck:
test:
[
+7 -1
View File
@@ -19,7 +19,13 @@ services:
- N8N_SECURE_COOKIE=true
- N8N_RESTRICT_FILE_ACCESS_TO=/home/node
volumes:
- /opt/media/storagebox/paperless/consume:/home/node/paperless/consume:rw
- type: bind
source: /opt/media/storagebox/paperless/consume
target: /home/node/paperless/consume
read_only: false
bind:
propagation: rslave
create_host_path: false
- n8n_data:/home/node/.n8n
healthcheck:
test:
+6 -1
View File
@@ -13,7 +13,12 @@ services:
- traefik.http.routers.nextcloud.middlewares=nextcloud-buffering
volumes:
- nextcloud_data:/var/www/html
- /opt/media/storagebox/nextcloud:/mnt/storagebox
- type: bind
source: /opt/media/storagebox/nextcloud
target: /mnt/storagebox
bind:
propagation: rslave
create_host_path: false
healthcheck:
test:
[
+24 -4
View File
@@ -11,10 +11,30 @@ services:
labels:
- rclone.storage=storagebox-crypt
volumes:
- /opt/media/storagebox/paperless/data:/usr/src/paperless/data
- /opt/media/storagebox/paperless/media:/usr/src/paperless/media
- /opt/media/storagebox/paperless/export:/usr/src/paperless/export
- /opt/media/storagebox/paperless/consume:/usr/src/paperless/consume
- type: bind
source: /opt/media/storagebox/paperless/data
target: /usr/src/paperless/data
bind:
propagation: rslave
create_host_path: false
- type: bind
source: /opt/media/storagebox/paperless/media
target: /usr/src/paperless/media
bind:
propagation: rslave
create_host_path: false
- type: bind
source: /opt/media/storagebox/paperless/export
target: /usr/src/paperless/export
bind:
propagation: rslave
create_host_path: false
- type: bind
source: /opt/media/storagebox/paperless/consume
target: /usr/src/paperless/consume
bind:
propagation: rslave
create_host_path: false
environment:
PAPERLESS_REDIS: ${PAPERLESS_REDIS}
PAPERLESS_TIME_ZONE: ${PAPERLESS_TIME_ZONE}