Skip to content

Commit

Permalink
fix: add container name and healthchecks
Browse files Browse the repository at this point in the history
  • Loading branch information
gregfrasco committed Feb 15, 2024
1 parent 405985f commit dd55b4e
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions deployment/docker-compose-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,32 @@ version: "3"

services:
scraper:
container_name: gdp-flask-scraper
image: hicsail/gdp-flask:staging
restart: always
ports:
- 5001:80
env_file:
- ../stack.env
healthcheck:
test: ["CMD", "curl", "-f", "http://gdp-flask-scraper:5001/health"]
translator:
container_name: gdp-flask-translator
image: hicsail/gdp-flask-translator:staging
restart: always
ports:
- 5002:80
env_file:
- ../stack.env
healthcheck:
test: ["CMD", "curl", "-f", "http://gdp-flask-translator:5002/health"]
classifier:
container_name: gdp-flask-classifier
image: hicsail/gdp-flask-classifier:staging
restart: always
ports:
- 5003:80
env_file:
- ../stack.env
healthcheck:
test: ["CMD", "curl", "-f", "http://gdp-flask-classifier:5003/health"]

0 comments on commit dd55b4e

Please sign in to comment.