mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-07-08 17:45:14 +02:00
29 lines
864 B
Django/Jinja
29 lines
864 B
Django/Jinja
{% include 'roles/docker-compose/templates/base.yml.j2' %}
|
|
|
|
web:
|
|
image: "{{ applications[application_id].images.web }}"
|
|
ports:
|
|
- "{{ports.localhost.http[application_id]}}:80"
|
|
volumes:
|
|
- .:/usr/share/nginx/html
|
|
- .:/var/www
|
|
{% include 'roles/docker-container/templates/depends_on_dmbs.j2' %}
|
|
maildev:
|
|
worker:
|
|
env_file:
|
|
- ./.env
|
|
{% include 'roles/docker-container/templates/networks.yml.j2' %}
|
|
|
|
worker:
|
|
image: "{{ applications[application_id].images.worker }}"
|
|
{% include 'roles/docker-container/templates/depends_on_dmbs.j2' %}
|
|
maildev:
|
|
{% include 'roles/docker-container/templates/networks.yml.j2' %}
|
|
volumes:
|
|
- .:/usr/share/nginx/html
|
|
- .:/var/www
|
|
|
|
{% include 'roles/docker-compose/templates/volumes.yml.j2' %}
|
|
redis:
|
|
|
|
{% include 'roles/docker-compose/templates/networks.yml.j2' %} |