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: labels:
- rclone.storage=storagebox-crypt - rclone.storage=storagebox-crypt
volumes: 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: healthcheck:
test: test:
[ [
+6 -1
View File
@@ -9,7 +9,12 @@ services:
labels: labels:
- rclone.storage=storagebox-crypt - rclone.storage=storagebox-crypt
volumes: 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 - /etc/localtime:/etc/localtime:ro
depends_on: depends_on:
immich-redis: immich-redis:
+8 -1
View File
@@ -6,8 +6,15 @@ services:
limits: limits:
cpus: "1.0" cpus: "1.0"
memory: 1G memory: 1G
labels:
- rclone.storage=storagebox-crypt
volumes: 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: healthcheck:
test: test:
[ [
+7 -1
View File
@@ -19,7 +19,13 @@ services:
- N8N_SECURE_COOKIE=true - N8N_SECURE_COOKIE=true
- N8N_RESTRICT_FILE_ACCESS_TO=/home/node - N8N_RESTRICT_FILE_ACCESS_TO=/home/node
volumes: 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 - n8n_data:/home/node/.n8n
healthcheck: healthcheck:
test: test:
+6 -1
View File
@@ -13,7 +13,12 @@ services:
- traefik.http.routers.nextcloud.middlewares=nextcloud-buffering - traefik.http.routers.nextcloud.middlewares=nextcloud-buffering
volumes: volumes:
- nextcloud_data:/var/www/html - 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: healthcheck:
test: test:
[ [
+24 -4
View File
@@ -11,10 +11,30 @@ services:
labels: labels:
- rclone.storage=storagebox-crypt - rclone.storage=storagebox-crypt
volumes: volumes:
- /opt/media/storagebox/paperless/data:/usr/src/paperless/data - type: bind
- /opt/media/storagebox/paperless/media:/usr/src/paperless/media source: /opt/media/storagebox/paperless/data
- /opt/media/storagebox/paperless/export:/usr/src/paperless/export target: /usr/src/paperless/data
- /opt/media/storagebox/paperless/consume:/usr/src/paperless/consume 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: environment:
PAPERLESS_REDIS: ${PAPERLESS_REDIS} PAPERLESS_REDIS: ${PAPERLESS_REDIS}
PAPERLESS_TIME_ZONE: ${PAPERLESS_TIME_ZONE} PAPERLESS_TIME_ZONE: ${PAPERLESS_TIME_ZONE}