-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
25 lines (25 loc) · 843 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
25 lines (25 loc) · 843 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
services:
vpro-plex-provider:
build: .
container_name: vpro-plex-provider
ports:
- "${HOST_PORT:-5100}:5100"
environment:
- PORT=5100
- LOG_LEVEL=${LOG_LEVEL:-INFO}
- TMDB_API_KEY=${TMDB_API_KEY:-}
- CACHE_DIR=/app/cache
- POMS_CACHE_FILE=/app/cache/credentials.json
- VPRO_RETURN_SUMMARY=${VPRO_RETURN_SUMMARY:-true}
- VPRO_RETURN_CONTENT_RATING=${VPRO_RETURN_CONTENT_RATING:-true}
- VPRO_RETURN_IMAGES=${VPRO_RETURN_IMAGES:-false}
- VPRO_RETURN_RATING=${VPRO_RETURN_RATING:-false}
volumes:
- ./cache:/app/cache
restart: unless-stopped
healthcheck:
test: ["CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://localhost:5100/health')"]
interval: 60s
timeout: 10s
retries: 3
start_period: 10s