computer-playbook/roles/docker-listmonk/templates/docker-compose.yml.j2

23 lines
411 B
Plaintext
Raw Normal View History

2023-11-18 14:11:48 +01:00
version: "3.7"
services:
2023-12-28 00:28:30 +01:00
2023-12-05 14:37:50 +01:00
application:
restart: unless-stopped
image: listmonk/listmonk:latest
ports:
- "127.0.0.1:{{http_port}}:9000"
environment:
- TZ=Etc/UTC
2023-11-18 14:11:48 +01:00
volumes:
- ./config.toml:/listmonk/config.toml
2023-12-05 13:46:06 +01:00
{% if not enable_central_database %}
depends_on:
- database
{% include 'templates/docker-postgres-service.yml.j2' %}
2023-11-18 14:11:48 +01:00
volumes:
database:
{% endif %}