fix: Change API port in docker-compose from 4095 to 4096 to avoid Docker network subnetting issues
This commit is contained in:
parent
a778a016ae
commit
449f513a68
@ -4,7 +4,7 @@ services:
|
|||||||
youtube-api:
|
youtube-api:
|
||||||
build: .
|
build: .
|
||||||
ports:
|
ports:
|
||||||
- "4095:4095"
|
- "4096:4096"
|
||||||
environment:
|
environment:
|
||||||
- FLASK_ENV=production
|
- FLASK_ENV=production
|
||||||
- PYTHONPATH=/app
|
- PYTHONPATH=/app
|
||||||
@ -13,7 +13,7 @@ services:
|
|||||||
- ./downloads:/app/downloads
|
- ./downloads:/app/downloads
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "curl", "-f", "http://localhost:4095/health"]
|
test: ["CMD", "curl", "-f", "http://localhost:4096/health"]
|
||||||
interval: 30s
|
interval: 30s
|
||||||
timeout: 10s
|
timeout: 10s
|
||||||
retries: 3
|
retries: 3
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user