-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.example.yml
More file actions
28 lines (25 loc) · 1 KB
/
Copy pathdocker-compose.example.yml
File metadata and controls
28 lines (25 loc) · 1 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
# ABOUTME: Example Docker Compose for adding Couch Commander to your *arr stack.
# ABOUTME: Copy this file, rename to docker-compose.yml, and fill in your TMDB API key.
services:
couch-commander:
image: ghcr.io/dylanreed/couch-commander:latest
container_name: couch-commander
restart: unless-stopped
ports:
- "4242:4242"
volumes:
# SQLite database persists here — back this up
- ./couch-commander-data:/data
environment:
# Required: get a free API key at https://www.themoviedb.org/settings/api
- TMDB_API_KEY=your_key_here
# Optional: protect the API with a key (tools like Homepage can use it)
# - API_KEY=your_secret_key
# Optional: change the default port (update the ports mapping too)
# - PORT=4242
healthcheck:
test: ["CMD", "node", "-e", "require('http').get('http://localhost:4242/ping', (r) => process.exit(r.statusCode === 200 ? 0 : 1))"]
interval: 30s
timeout: 10s
retries: 3
start_period: 15s