Add Docker support (Dockerfile, docker-compose.yml, .dockerignore)

This commit is contained in:
2026-07-07 20:52:50 +02:00
parent 52e39ca751
commit bfb7002c4d
3 changed files with 87 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
services:
xstream-downloader:
build: .
container_name: xstream-downloader
ports:
- "8770:8770"
volumes:
- ./downloads:/app/downloads
- ./cookies:/app/cookies
environment:
- FLASK_ENV=production
restart: unless-stopped
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8770/"]
interval: 30s
timeout: 10s
retries: 3
start_period: 10s