Configure NAS volume in docker-compose
Added volume configuration for NAS data storage.
This commit is contained in:
1 parent
141bda0704
commit
00280730e9
1 file changed
+8
@@ -18,3 +18,11 @@ services:
|
|||||||
- 3071:3001 # HTTPS toegang
|
- 3071:3001 # HTTPS toegang
|
||||||
shm_size: "1gb" # Voorkomt crashes bij zwaar geheugengebruik
|
shm_size: "1gb" # Voorkomt crashes bij zwaar geheugengebruik
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
nas_data:
|
||||||
|
driver: local
|
||||||
|
driver_opts:
|
||||||
|
type: cifs
|
||||||
|
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"
|
||||||
Reference in new issue
Block a user