refactor(compose): Double-check that VIP is bound on target host

This commit is contained in:
hygienic-books 2023-10-13 02:23:57 +02:00
parent b534a9bccf
commit 1f588e90bc
2 changed files with 12 additions and 0 deletions

View File

@ -51,6 +51,10 @@ done
## Start
FIXME Does the service use a virtual IP address? FIXME
Make sure your service's virtual IP address is bound on your target host then start containers.
```
docker --context 'fully.qualified.domain.name' compose --project-name "${COMPOSE_PROJECT}" --file "${COMPOSE_FILE}" --env-file "${COMPOSE_ENV}" --profile 'full' up --detach
```

View File

@ -92,6 +92,14 @@ copy-docker.sh '{{ cookiecutter.__component_list_slug }}:'"${% raw %}{{% endraw
## Start
{%- if ',' in cookiecutter.__component_list_slug %}
FIXME Does the service use a virtual IP address? FIXME
Make sure your service's virtual IP address is bound on your target host then start containers.
{%- endif %}
```
{%- if ',' in cookiecutter.__component_list_slug %}
docker --context 'fully.qualified.domain.name' compose --project-name "${COMPOSE_PROJECT}" --file "${COMPOSE_FILE}" --env-file "${COMPOSE_ENV}" --profile 'full' up --detach