2025-11-05 16:48:41 +00:00
|
|
|
services:
|
|
|
|
|
notediscovery:
|
|
|
|
|
build: .
|
|
|
|
|
container_name: notediscovery
|
|
|
|
|
ports:
|
|
|
|
|
- "8000:8000"
|
|
|
|
|
volumes:
|
2025-12-18 15:08:06 +00:00
|
|
|
# Required: Your notes
|
2025-11-05 16:48:41 +00:00
|
|
|
- ./data:/app/data
|
2025-12-18 15:08:06 +00:00
|
|
|
# Optional: Uncomment to customize (file/folder must exist with content!)
|
|
|
|
|
# - ./config.yaml:/app/config.yaml
|
|
|
|
|
# - ./themes:/app/themes
|
|
|
|
|
# - ./plugins:/app/plugins
|
|
|
|
|
# - ./locales:/app/locales
|
2025-11-05 16:48:41 +00:00
|
|
|
restart: unless-stopped
|
|
|
|
|
environment:
|
|
|
|
|
- TZ=UTC
|
|
|
|
|
healthcheck:
|
|
|
|
|
test: ["CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://localhost:8000/health')"]
|
|
|
|
|
interval: 60s
|
|
|
|
|
timeout: 3s
|
|
|
|
|
retries: 3
|
|
|
|
|
start_period: 5s
|
|
|
|
|
|