Files

18 lines
441 B
YAML

version: '3.8'
services:
obsidian-sync:
build: .
container_name: obsidian-sync-server
restart: unless-stopped
volumes:
# Map your local host folder to the container's vault folder
- ${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
environment:
- TZ=UTC