-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
TG-964 Upgrade docker-compose with healthchecks handler (#236)
* Update docker-compose env_template * Update default on frontend env * Fix PYTHONDEVMODE default value in env template * Add PYTHONTRACEMALLOC support * Add traefik healthcheck in docker-compose * Add backend healthcheck in docker compose * Fix INTERNAL_BACKEND_URL in env_template * Set docker compose version to 3.8 * Improve frontend healthcheck * Upgrade traefik to 2.10 * Fix backend healthcheck url path * Fix healthchecks values * Fix healthchecks url path with cookiecuter values * Fix frontend healthcheck url path * Fix typo into README * Add healthchecks supporto on traefik routing * Fix minors into README * Fix traefik depends_on backend service healthy * Fix sorting * Fix healthcheck urls with cookiecutter values * Fix services port into healthchecks url with cookiecutter values --------- Co-authored-by: Matteo Vitali <[email protected]> Co-authored-by: Matteo Vitali <[email protected]>
- Loading branch information
1 parent
4ad6d02
commit 14825ef
Showing
5 changed files
with
57 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,13 +14,19 @@ DJANGO_SUPERUSER_PASSWORD={{ cookiecutter.project_slug }} | |
DJANGO_SUPERUSER_USERNAME=${USER} | ||
EMAIL_URL=console:/// | ||
PYTHONBREAKPOINT=IPython.core.debugger.set_trace | ||
PYTHONDEVMODE="" | ||
PYTHONTRACEMALLOC=0 | ||
{% endif %}{% if cookiecutter.frontend_type != 'none' %}# frontend | ||
# You can override the following variables | ||
# PROJECT_URL=https://localhost:8443 | ||
# FRONTEND_DOCKER_FILE=docker/remote.Dockerfile | ||
# INTERNAL_BACKEND_URL=http://{{ cookiecutter.backend_service_slug }}:{{ cookiecutter.backend_service_port }} | ||
# REACT_ENVIRONMENT=Development | ||
# PROJECT_URL=https://localhost:8443 | ||
# REACT_ENVIRONMENT=Production | ||
{% endif %}{% if cookiecutter.use_pact == "true" %}# pact | ||
PACT_BROKER_URL=https://user:[email protected] | ||
PACT_PROVIDER_NAME={{ cookiecutter.project_slug }}-{{ cookiecutter.backend_service_slug }} | ||
{% endif %}# {{ cookiecutter.service_slug }} | ||
COMPOSE_FILE=docker-compose.yaml | ||
# user | ||
# GROUP_ID=1000 | ||
# USER_ID=1000 | ||
# USER=appuser |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,6 +13,8 @@ entryPoints: | |
log: | ||
level: ERROR | ||
|
||
ping: true | ||
|
||
providers: | ||
file: | ||
filename: /traefik/conf/dynamic.yaml |