mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 15:06:26 +02:00
Semi bsr for applications[] to prevent heavy to debug bugs in j2 - part 1
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
{% include 'roles/docker-compose/templates/base.yml.j2' %}
|
||||
|
||||
web:
|
||||
image: "{{ applications[application_id].images.web }}"
|
||||
image: "{{ applications | get_app_conf(application_id, 'images.web', True) }}"
|
||||
ports:
|
||||
- "{{ports.localhost.http[application_id]}}:80"
|
||||
volumes:
|
||||
@@ -15,7 +15,7 @@
|
||||
{% include 'roles/docker-container/templates/networks.yml.j2' %}
|
||||
|
||||
worker:
|
||||
image: "{{ applications[application_id].images.worker }}"
|
||||
image: "{{ applications | get_app_conf(application_id, 'images.worker', True) }}"
|
||||
{% include 'roles/docker-container/templates/depends_on/dmbs_incl.yml.j2' %}
|
||||
maildev:
|
||||
{% include 'roles/docker-container/templates/networks.yml.j2' %}
|
||||
|
Reference in New Issue
Block a user