2025-12-10 13:56:11 +01:00
|
|
|
version: '3.8'
|
|
|
|
|
|
|
|
|
|
services:
|
|
|
|
|
ultimate-backend:
|
2025-12-10 14:04:39 +01:00
|
|
|
build:
|
|
|
|
|
context: .
|
|
|
|
|
args:
|
|
|
|
|
- USER_ID=1000
|
|
|
|
|
- GROUP_ID=1000
|
2025-12-10 15:55:39 +01:00
|
|
|
image: nirvana777/ultimate-backend:latest
|
2025-12-10 13:56:11 +01:00
|
|
|
container_name: ultimate-backend
|
|
|
|
|
restart: unless-stopped
|
|
|
|
|
ports:
|
2025-12-12 20:45:04 +01:00
|
|
|
- 7777:7777
|
2025-12-10 13:56:11 +01:00
|
|
|
environment:
|
|
|
|
|
- ULTIMATE_PORT=7777
|
2025-12-10 14:04:39 +01:00
|
|
|
- ULTIMATE_DEBUG=false
|
2026-01-20 15:26:41 +01:00
|
|
|
- ULTIMATE_EPG_URL=https://example.com/epg.xml.gz
|
2025-12-10 14:04:39 +01:00
|
|
|
- TZ=${TZ:-Europe/Berlin}
|
2026-01-20 15:26:41 +01:00
|
|
|
- MEDIA_PROXY_URL=http://media-proxy:8080 # if using media proxy
|
2025-12-10 13:56:11 +01:00
|
|
|
volumes:
|
|
|
|
|
- ./config:/config
|
|
|
|
|
- ./logs:/logs
|
|
|
|
|
- ./cache:/cache
|
|
|
|
|
healthcheck:
|
|
|
|
|
test: ["CMD", "curl", "-f", "http://localhost:7777/api/providers"]
|
|
|
|
|
interval: 30s
|
2025-12-10 14:04:39 +01:00
|
|
|
timeout: 10s
|
2025-12-10 13:56:11 +01:00
|
|
|
retries: 3
|
2025-12-10 14:04:39 +01:00
|
|
|
start_period: 10s
|
|
|
|
|
networks:
|
|
|
|
|
- ultimate-network
|
2025-12-10 13:56:11 +01:00
|
|
|
labels:
|
|
|
|
|
- "traefik.enable=true"
|
|
|
|
|
- "traefik.http.routers.ultimate.rule=Host(`ultimate.local`)"
|
2025-12-10 14:04:39 +01:00
|
|
|
- "traefik.http.services.ultimate.loadbalancer.server.port=7777"
|
|
|
|
|
|
|
|
|
|
networks:
|
|
|
|
|
ultimate-network:
|
|
|
|
|
driver: bridge
|