-
Notifications
You must be signed in to change notification settings - Fork 80
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
31 lines (31 loc) · 1006 Bytes
/
docker-compose.yml
File metadata and controls
31 lines (31 loc) · 1006 Bytes
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
version: '3.9'
services:
tmdb-embed-api:
build: .
container_name: tmdb-embed-api
environment:
# Provide at least one TMDB key (comma separated or override via UI later)
- TMDB_API_KEY=${TMDB_API_KEY:-}
# Alternative: supply JSON array
# - TMDB_API_KEYS=["key1","key2"]
- API_PORT=8787
- BIND_HOST=0.0.0.0
# FebBox cookies (comma separated) if you want Showbox immediately functional
- FEBBOX_COOKIES=${FEBBOX_COOKIES:-}
ports:
- "8787:8787"
volumes:
# Persist runtime overrides (created by the admin UI)
- user_config_data:/app/utils/user-config.json
# Allow restart trigger file (optional; stored in container FS)
# - restart_marker:/app/restart.trigger
restart: unless-stopped
healthcheck:
test: ["CMD-SHELL", "wget -qO- http://localhost:8787/api/health || exit 1"]
interval: 30s
timeout: 5s
start_period: 20s
retries: 3
volumes:
user_config_data:
# restart_marker: