fix(compose): Use modern Compose file name (#12)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# FIXME
|
||||
|
||||
Search and replace all mentions of FIXME with sensible content in this file and in [docker-compose.yml](docker-compose.yml).
|
||||
Search and replace all mentions of FIXME with sensible content in this file and in [compose.yaml](compose.yaml).
|
||||
|
||||
# {{ cookiecutter.__service_slug.capitalize() }} Docker Compose files
|
||||
|
||||
@@ -18,8 +18,8 @@ When everything's ready start {{ cookiecutter.__service_slug.capitalize() }} wit
|
||||
export COMPOSE_DIR='/opt/containers/{{ cookiecutter.__project_slug }}'
|
||||
export COMPOSE_CTX='ux_vilnius'
|
||||
export COMPOSE_PROJECT='{{ cookiecutter.__service_slug }}-'"${COMPOSE_CTX}"
|
||||
export COMPOSE_FILE="${COMPOSE_DIR}"'/docker-compose.yml'{% if cookiecutter.build == "yes" %}
|
||||
export COMPOSE_OVERRIDE="${COMPOSE_DIR%/}"'/docker-compose.override.yml'{% endif %}
|
||||
export COMPOSE_FILE="${COMPOSE_DIR}"'/compose.yaml'{% if cookiecutter.build == "yes" %}
|
||||
export COMPOSE_OVERRIDE="${COMPOSE_DIR%/}"'/compose.override.yaml'{% endif %}
|
||||
export COMPOSE_ENV=<add accordingly>
|
||||
```
|
||||
|
||||
@@ -108,7 +108,7 @@ Create ZFS datasets and set permissions as needed.
|
||||
zfs create -p 'zpool/docker-data/{{ cookiecutter.__service_slug }}-'"${COMPOSE_CTX}"'/{{ cookiecutter.__service_slug }}/config'
|
||||
{%- endif %}
|
||||
```
|
||||
FIXME When changing bind mount locations to real ones remember to also update `volumes:` in [docker-compose.yml](docker-compose.yml) FIXME
|
||||
FIXME When changing bind mount locations to real ones remember to also update `volumes:` in [compose.yaml](compose.yaml) FIXME
|
||||
|
||||
* Create subdirs
|
||||
```
|
||||
|
@@ -33,7 +33,7 @@ SUBNET=172.30.95.0/24
|
||||
|
||||
|
||||
|
||||
# See 'docker-compose.override.yml' for how to make a variable available in
|
||||
# See 'compose.override.yaml' for how to make a variable available in
|
||||
# a Dockerfile
|
||||
# ---
|
||||
# EXAMPLE_ARG_FROM_ENV_FILE=must_be_available_in_dockerfile
|
||||
|
Reference in New Issue
Block a user