-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.example.yml
More file actions
29 lines (27 loc) · 1.19 KB
/
docker-compose.example.yml
File metadata and controls
29 lines (27 loc) · 1.19 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
---
name: calendarr
# ‼️ RENAME THIS FILE TO docker-compose.yml SHOULD YOU WISH TO USE IT
# ╔══════════════════════════════════════╗
# ║ SERVICES ║
# ╚══════════════════════════════════════╝
services:
calendarr:
image: ghcr.io/khw315/calendarr:latest
restart: "unless-stopped"
container_name: calendarr
ports:
- "5000:5000" # Web UI - Access at http://localhost:5000
volumes:
# Mount config directory to save settings from Web UI
- ./calendarr/config:/app/config:rw
# Mount logs directory (optional but recommended)
- ./calendarr/logs:/app/logs:rw
# Mount custom footers directory (required if ENABLE_CUSTOM_*_FOOTER is true)
- ./calendarr/custom_footers:/app/custom_footers:rw
healthcheck:
# You can delete this if you don't care about healthchecks
test: [ "CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://localhost:5000/health')" ]
interval: 30s
timeout: 10s
retries: 3
start_period: 20s