This commit is contained in:
vvzvlad 2024-09-05 02:29:32 +03:00
parent 505ba1a42d
commit 59672292e2

View File

@ -4,9 +4,9 @@ services:
build: .
command: python -u /app/app.py
ports:
- "8000:8000"
- "8080:8080"
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8000/inference/ETH"]
test: ["CMD", "curl", "-f", "http://localhost:8080/inference/ETH"]
interval: 10s
timeout: 5s
retries: 12
@ -18,7 +18,7 @@ services:
container_name: updater-basic-eth-pred
build: .
environment:
- INFERENCE_API_ADDRESS=http://inference:8000
- INFERENCE_API_ADDRESS=http://inference:8080
command: >
sh -c "
while true; do