feat(docker-compose): Add example for health check between two services

This commit is contained in:
2023-06-11 22:49:45 +02:00
parent 3de179d613
commit b033946444
5 changed files with 37 additions and 0 deletions

View File

@@ -8,6 +8,11 @@ CONTEXT={{ cookiecutter.__context_slug }}
{% for component in components %}
# {{ component.upper() }}_VERSION=x.y.z
{%- endfor %}
{%- for component in components %}
{%- if loop.first %}
# {{ component.upper() }}_VIP=10.1.1.2
{%- endif %}
{%- endfor %}