Modify docker-compose.yml for Obsidian setup
Updated volumes configuration and removed unused volume settings.
This commit is contained in:
1 parent
31f080e43e
commit
141bda0704
1 file changed
+2
-10
@@ -11,18 +11,10 @@ services:
|
|||||||
- DOCKER_MODS=linuxserver/mods:universal-package-install # Optioneel: voor extra fonts/tools
|
- DOCKER_MODS=linuxserver/mods:universal-package-install # Optioneel: voor extra fonts/tools
|
||||||
volumes:
|
volumes:
|
||||||
- /path/to/your/obsidian/config:/config # BELANGRIJK: Pas dit pad aan
|
- /path/to/your/obsidian/config:/config # BELANGRIJK: Pas dit pad aan
|
||||||
|
- nas_data:/vaults
|
||||||
|
- ${OBSIDIAN_PATH}:/config
|
||||||
ports:
|
ports:
|
||||||
- 3070:3000 # HTTP toegang
|
- 3070:3000 # HTTP toegang
|
||||||
- 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
|
|
||||||
# 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"
|
|
||||||
Reference in new issue
Block a user