-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.example.yml
More file actions
36 lines (33 loc) · 1.42 KB
/
docker-compose.example.yml
File metadata and controls
36 lines (33 loc) · 1.42 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# VaultReader — example Docker Compose
# Copy this to docker-compose.yml and adjust paths/ports for your setup.
services:
vaultreader:
image: ghcr.io/vaultreader/vaultreader:latest # or build locally
# build:
# context: .
# dockerfile: Dockerfile
container_name: vaultreader
ports:
- "8080:8080" # adjust host port as needed
volumes:
- /path/to/your/vaults:/vaults:rw # mount your Obsidian vaults
- /path/to/appdata:/appdata:rw # persists vault icons + customisations
restart: unless-stopped
environment:
# Optional: Syncthing integration (omit if not using Syncthing)
# SYNCTHING_API_KEY: "your-syncthing-api-key"
# SYNCTHING_API_URL: "http://syncthing:8384"
pass: "true" # placeholder so env block is valid
# ── Traefik reverse proxy (optional) ──────────────────────────────────────
# Remove everything below if you're not using Traefik.
# networks:
# - proxy
# labels:
# - "traefik.enable=true"
# - "traefik.http.routers.vaultreader.rule=Host(`notes.yourdomain.com`)"
# - "traefik.http.routers.vaultreader.entrypoints=websecure"
# - "traefik.http.routers.vaultreader.tls.certresolver=letsencrypt"
# - "traefik.http.services.vaultreader.loadbalancer.server.port=8080"
# networks:
# proxy:
# external: true