Skip to content

Commit

Permalink
Fix healthchecks url pazth with cookiecuter values
Browse files Browse the repository at this point in the history
  • Loading branch information
trottomv committed Jan 10, 2024
1 parent e45198f commit 0aa6cc1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions {{cookiecutter.project_dirname}}/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ services:
- PYTHONDEVMODE
- PYTHONTRACEMALLOC
healthcheck:
test: curl --fail --head http://backend:8000/backend/health/ || exit 1
test: curl --fail --head http://backend:8000/{{ cookiecutter.backend_service_slug }}/health/ || exit 1
interval: 30s
start_period: 5s
timeout: 5s
Expand All @@ -50,7 +50,7 @@ services:
context: ./{{ cookiecutter.frontend_service_slug }}
dockerfile: ${FRONTEND_DOCKER_FILE:-docker/local.Dockerfile}{% if cookiecutter.backend_type != "none" %}
healthcheck:
test: wget -O- -q http://localhost:3000/frontend/health/ || exit 1
test: wget -O- -q http://localhost:3000/{{ cookiecutter.frontend_service_slug }}/health/ || exit 1
interval: 30s
timeout: 5s
start_period: 5s
Expand Down

0 comments on commit 0aa6cc1

Please sign in to comment.