docs: clarify host path mapping and volume configuration

This commit is contained in:
hermes
2026-04-23 14:04:37 +00:00
parent 553a1cf818
commit 59be8ea8ed
3 changed files with 33 additions and 24 deletions
+5 -1
View File
@@ -6,7 +6,11 @@ services:
container_name: obsidian-sync-server
restart: unless-stopped
volumes:
- ./vault:/vault
# Map your local host folder to the container's vault folder
# Syntax: - /absolute/path/on/your/host:/vault
- ${VAULT_HOST_PATH}:/vault
# Persist the sync session and config so you don't have to 'ob login' on every restart
- ./config:/root/.config/obsidian-headless
env_file:
- .env