docs: clarify host path mapping and volume configuration
This commit is contained in:
+5
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user