From e953937b818e56625a94346c9498d7acd6163825 Mon Sep 17 00:00:00 2001 From: Kevin Veen-Birkenbach Date: Thu, 28 Dec 2023 08:17:07 +0100 Subject: [PATCH] changed listmonk db parameters --- roles/docker-listmonk/templates/config.toml.j2 | 8 ++++---- templates/docker-postgres-service.yml.j2 | 2 -- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/roles/docker-listmonk/templates/config.toml.j2 b/roles/docker-listmonk/templates/config.toml.j2 index 0fe645cd..590d74df 100644 --- a/roles/docker-listmonk/templates/config.toml.j2 +++ b/roles/docker-listmonk/templates/config.toml.j2 @@ -14,13 +14,13 @@ admin_password = "{{listmonk_admin_password}}" # Database. [db] -host = "database" +host = "{{database_host}}" port = 5432 -user = "listmonk" -password = "{{listmonk_database_password}}" +user = "{{database_user}}" +password = "{{database_password}}" # Ensure that this database has been created in Postgres. -database = "listmonk" +database = "{{database_databasename}}" ssl_mode = "disable" max_open = 25 diff --git a/templates/docker-postgres-service.yml.j2 b/templates/docker-postgres-service.yml.j2 index 2d53e1ad..808997a4 100644 --- a/templates/docker-postgres-service.yml.j2 +++ b/templates/docker-postgres-service.yml.j2 @@ -1,8 +1,6 @@ database: image: postgres:{{database_version}}-alpine - ports: - - "9432:5432" environment: - POSTGRES_PASSWORD={{database_password}} - POSTGRES_USER={{database_username}}