mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-11-25 06:01:04 +01:00
21 lines
594 B
Django/Jinja
21 lines
594 B
Django/Jinja
version: "3.7"
|
|
|
|
services:
|
|
|
|
{% include 'templates/docker/services/' + database_type + '.yml.j2' %}
|
|
|
|
application:
|
|
restart: {{docker_restart_policy}}
|
|
image: listmonk/listmonk:latest
|
|
ports:
|
|
- "127.0.0.1:{{http_port}}:9000"
|
|
environment:
|
|
- TZ=Etc/UTC
|
|
volumes:
|
|
- ./config.toml:/listmonk/config.toml
|
|
{% include 'templates/docker/container/networks.yml.j2' %}
|
|
{% include 'templates/docker/container/depends-on-just-database.yml.j2' %}
|
|
|
|
{% include 'templates/docker/compose/volumes-just-database.yml.j2' %}
|
|
|
|
{% include 'templates/docker/compose/networks.yml.j2' %} |