mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-12-05 02:28:06 +01:00
40 lines
1.1 KiB
Django/Jinja
40 lines
1.1 KiB
Django/Jinja
services:
|
|
|
|
{% include 'templates/docker/services/redis.yml.j2' %}
|
|
|
|
{% include 'templates/docker/services/' + database_type + '.yml.j2' %}
|
|
|
|
web:
|
|
image: attendize_web:latest
|
|
ports:
|
|
- "{{http_port}}:80"
|
|
volumes:
|
|
- .:/usr/share/nginx/html
|
|
- .:/var/www
|
|
{% include 'templates/docker/container/depends-on-database-redis.yml.j2' %}
|
|
maildev:
|
|
worker:
|
|
env_file:
|
|
- ./.env
|
|
{% include 'templates/docker/container/networks.yml.j2' %}
|
|
|
|
worker:
|
|
image: attendize_worker:latest
|
|
{% include 'templates/docker/container/depends-on-database-redis.yml.j2' %}
|
|
maildev:
|
|
{% include 'templates/docker/container/networks.yml.j2' %}
|
|
volumes:
|
|
- .:/usr/share/nginx/html
|
|
- .:/var/www
|
|
|
|
maildev:
|
|
image: maildev/maildev
|
|
ports:
|
|
- "{{ mail_interface_http_port }}:1080"
|
|
{% include 'templates/docker/container/networks.yml.j2' %}
|
|
{% include 'templates/docker/container/depends-on-just-database.yml.j2' %}
|
|
|
|
{% include 'templates/docker/compose/volumes.yml.j2' %}
|
|
redis:
|
|
|
|
{% include 'templates/docker/compose/networks.yml.j2' %} |