From d261db50b60555cbc151ba9904f1aa0467b44214 Mon Sep 17 00:00:00 2001 From: "Trez.One" Date: Fri, 21 Mar 2025 12:28:42 -0400 Subject: [PATCH] Reverting back to env vars for Ghost. --- .../app-configs/ghost_config.production.json.j2 | 2 +- docker-compose.yml | 15 +++++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/ansible/app-configs/ghost_config.production.json.j2 b/ansible/app-configs/ghost_config.production.json.j2 index 421e77e6..823395c6 100644 --- a/ansible/app-configs/ghost_config.production.json.j2 +++ b/ansible/app-configs/ghost_config.production.json.j2 @@ -30,7 +30,7 @@ }, "privacy": { "useGravatar": true - } + }, "logging": { "level": "info", "rotation": { diff --git a/docker-compose.yml b/docker-compose.yml index 725a02ac..8c367c87 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1337,6 +1337,21 @@ services: condition: service_started required: true restart: true + environment: + database__client: mysql + database__connection__host: mariadb + database__connection__port: 3306 + database__connection__user: ${GHOST_DB_USER} + database__connection__password: ${GHOST_DB_PASSWORD} + database__connection__database: ghost_db + mail__transport: SMTP + mail__options__host: postal-smtp + mail__options__port: 25 + mail__options__secure: false + mail__options__auth__user: ${POSTAL_SMTP_AUTH_USER} + mail__options__auth__pass: ${POSTAL_SMTP_AUTH_PASSWORD} + mail__from: "'Ghost @ Rinoa' " + url: https://blog.${MY_TLD} image: ghost:latest labels: homepage.group: Lifestyle