Update docker-compose to use kv-tube:v2.0 and port 5000
This commit is contained in:
parent
e90d7469ec
commit
81369b50eb
1 changed files with 3 additions and 3 deletions
|
|
@ -6,11 +6,11 @@ version: '3.8'
|
||||||
services:
|
services:
|
||||||
kv-tube:
|
kv-tube:
|
||||||
# build: .
|
# build: .
|
||||||
image: vndangkhoa/kvtube:latest
|
image: vndangkhoa/kv-tube:v2.0
|
||||||
container_name: kv-tube
|
container_name: kv-tube
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
ports:
|
ports:
|
||||||
- "5011:5001"
|
- "5011:5000"
|
||||||
volumes:
|
volumes:
|
||||||
# Persist data (Easy setup: Just maps a folder)
|
# Persist data (Easy setup: Just maps a folder)
|
||||||
- ./data:/app/data
|
- ./data:/app/data
|
||||||
|
|
@ -20,7 +20,7 @@ services:
|
||||||
- PYTHONUNBUFFERED=1
|
- PYTHONUNBUFFERED=1
|
||||||
- FLASK_ENV=production
|
- FLASK_ENV=production
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: [ "CMD", "curl", "-f", "http://localhost:5001/" ]
|
test: [ "CMD", "curl", "-f", "http://localhost:5000/" ]
|
||||||
interval: 30s
|
interval: 30s
|
||||||
timeout: 10s
|
timeout: 10s
|
||||||
retries: 3
|
retries: 3
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue