enhancement
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user