mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-13 22:26:49 +00:00
- Rename all docker-compose.yml templates to compose.yml - Update override and CA override filenames accordingly - Adjust compose wrapper, lookup plugins, filters and path helpers - Update roles, tasks, handlers and scripts to use compose CLI - Rewrite documentation and admin guides to reference compose - Update unit and integration tests to expect compose.yml - Keep internal variable keys for backward compatibility where needed https://chatgpt.com/share/69870272-b168-800f-84c3-6417398e441f
18 lines
621 B
Django/Jinja
18 lines
621 B
Django/Jinja
{% include 'roles/sys-svc-compose/templates/base.yml.j2' %}
|
|
|
|
application:
|
|
container_name: {{ application_id }}
|
|
image: {{ PHPLDAPADMIN_IMAGE }}:{{ PHPLDAPADMIN_VERSION }}
|
|
ports:
|
|
- {{ DOCKER_BIND_HOST }}:{{ ports.localhost.http[application_id] }}:8080
|
|
{% include 'roles/sys-svc-container/templates/base.yml.j2' %}
|
|
|
|
{% include 'roles/sys-svc-container/templates/networks.yml.j2' %}
|
|
|
|
{{ applications | compose_volumes(
|
|
application_id,
|
|
database_volume=lookup('database', application_id, 'volume'),
|
|
extra_volumes={'data': {}}
|
|
) }}
|
|
{% include 'roles/sys-svc-compose/templates/networks.yml.j2' %}
|