File size: 647 Bytes
84121fd |
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.8'
services:
daddytv:
build: .
ports:
- "8000:8000"
environment:
- MAIN_M3U_URL=${MAIN_M3U_URL}
- ADMIN_CODE=${ADMIN_CODE}
- AES_SECRET=${AES_SECRET}
- BASE_URL=${BASE_URL:-http://localhost:8000}
- PORT=8000
env_file:
- .env
restart: unless-stopped
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8000/api/health"]
interval: 30s
timeout: 10s
retries: 3
start_period: 40s
volumes:
# Opcional: montar logs
- ./logs:/app/logs
networks:
- daddytv-network
networks:
daddytv-network:
driver: bridge |