18 lines
635 B
YAML
18 lines
635 B
YAML
services:
|
|
grimmorysync:
|
|
build: .
|
|
ports:
|
|
- "8000:8000"
|
|
volumes:
|
|
# Persists the SQLite database and settings across container restarts
|
|
- ./data:/app/data
|
|
# Grimmory bookdrop — set the host path to Grimmory's bookdrop directory
|
|
- /path/to/grimmory/bookdrop:/bookdrop
|
|
# Local import folder — set the host path to your epub/pdf directory
|
|
- /path/to/local-books:/local-books
|
|
# Optional: mount your SSH private key read-only instead of pasting it in the UI
|
|
# - ~/.ssh/id_rsa:/run/secrets/ssh_key:ro
|
|
restart: unless-stopped
|
|
environment:
|
|
DATA_DIR: /app/data
|