enhancement

This commit is contained in:
Francesco Picone
2025-12-29 12:55:53 +01:00
parent 74bdffc411
commit 7c00b1af87
7 changed files with 260 additions and 24 deletions

View File

@@ -30,7 +30,14 @@ services:
- ./ui:/app
working_dir: /app
command: >
sh -c "pip install --no-cache-dir flask requests &&
sh -c "pip install --no-cache-dir -r requirements.txt &&
python app.py"
ports:
- "${UI_PORT}:5000"
healthcheck:
test: ["CMD", "python", "-c", "import requests; requests.get('http://localhost:5000/health')"]
interval: 30s
timeout: 10s
retries: 3
depends_on:
- cloudflare-ddns