Added draft for central postgres and mariadb. variables and networks still need to be adapted

This commit is contained in:
2023-12-31 11:14:18 +01:00
parent 3fa052f71d
commit a112b67eda
48 changed files with 340 additions and 213 deletions

View File

@@ -2,8 +2,6 @@ version: "3.7"
services:
{% include 'templates/docker-postgres-service.yml.j2' %}
application:
restart: unless-stopped
image: listmonk/listmonk:latest
@@ -11,10 +9,15 @@ services:
- "127.0.0.1:{{http_port}}:9000"
environment:
- TZ=Etc/UTC
depends_on:
- database
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:
database:
{% endif %}