Configure NAS volume in docker-compose

Added volume configuration for NAS data with CIFS options.
This commit is contained in:
MisticDruid authored and GitHub committed 2025-11-28 20:30:49 +01:00
1 parent bb80f2c19e
commit 31f080e43e
1 file changed
+10
+10
View File
@@ -16,3 +16,13 @@ services:
- 3071:3001 # HTTPS toegang
shm_size: "1gb" # Voorkomt crashes bij zwaar geheugengebruik
restart: unless-stopped
volumes:
nas_data:
driver: local
driver_opts:
type: cifs
# We gebruiken de variabelen voor user/pass.
# uid=1000 zorgt dat Obsidian schrijfrechten krijgt op de mount.
o: "username=${NAS_USER},password=${NAS_PASS},vers=3.0,uid=1000,gid=1000,file_mode=0777,dir_mode=0777"
device: "//10.1.10.7/obsidian"