Flesh out docker-compose Cookiecutter template

This commit is contained in:
2022-06-04 23:36:18 +02:00
parent e6be888b91
commit 8b2c0cecca
27 changed files with 413 additions and 39 deletions

View File

@@ -0,0 +1,32 @@
CONTEXT={{ cookiecutter.__context_slug }}
# Set something sensible here and uncomment
# ---
{%- set components = cookiecutter.__component_list_slug.split(',') -%}
{% for component in components %}
# {{ component.upper() }}_VERSION=x.y.z
{%- endfor %}
# A ${LOCATION} var is usually not needed. It may be helpful when a ${CONTEXT}
# extends over more than one location e.g. to bind-mount location-specific
# config files or certificates into a container.
# ---
# LOCATION=
# Feel free to leave defaults. They apply while these vars are commented out
# ---
# RESTARTPOLICY=unless-stopped
# TIMEZONE=Etc/UTC
# See 'docker-compose.override.yml' for how to make a variable available in
# a Dockerfile
# ---
# EXAMPLE_ARG_FROM_ENV_FILE=must_be_available_in_dockerfile