mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-12-27 12:25:04 +01:00
23 lines
431 B
Django/Jinja
23 lines
431 B
Django/Jinja
version: "3.7"
|
|
|
|
services:
|
|
|
|
application:
|
|
restart: unless-stopped
|
|
image: listmonk/listmonk:latest
|
|
ports:
|
|
- "127.0.0.1:{{http_port}}:9000"
|
|
environment:
|
|
- TZ=Etc/UTC
|
|
volumes:
|
|
- ./config.toml:/listmonk/config.toml
|
|
|
|
{% if not ( enable_central_database | lower | bool ) %}
|
|
depends_on:
|
|
- database
|
|
|
|
{% include 'templates/docker-postgres-service.yml.j2' %}
|
|
|
|
volumes:
|
|
database:
|
|
{% endif %} |