From 0467abeb2870a7ffb592cdffd11dff47009d8ba5 Mon Sep 17 00:00:00 2001 From: Aykhan Shahsuvarov Date: Sun, 27 Apr 2025 22:35:22 +0000 Subject: [PATCH] Update compose and env files --- ghost/.env.example | 8 +++++++- ghost/docker-compose.yml | 12 ++++++++++++ 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/ghost/.env.example b/ghost/.env.example index b1bf2e8..0c1a803 100644 --- a/ghost/.env.example +++ b/ghost/.env.example @@ -1 +1,7 @@ -url= \ No newline at end of file +URL= +MAIL_HOST= +MAIL_PORT=465 +MAIL_SECURE=true +MAIL_USERNAME= +MAIL_PASSWORD= +MAIL_FROM= diff --git a/ghost/docker-compose.yml b/ghost/docker-compose.yml index 768a211..b88f92a 100644 --- a/ghost/docker-compose.yml +++ b/ghost/docker-compose.yml @@ -12,8 +12,20 @@ services: networks: - caddy environment: + # DB database__client: sqlite3 database__connection__filename: content/data/ghost.db + # App NODE_ENV: production + url: ${URL} + # Mail + mail__options__host: ${MAIL_HOST} + mail__options__port: ${MAIL_PORT} + mail__options__secure: ${MAIL_SECURE} + mail__options__auth__user: ${MAIL_USERNAME} + mail__options__auth__pass: ${MAIL_PASSWORD} + mail__from: ${MAIL_FROM} + mail__options__service: SMTP + mail__transport: SMTP volumes: - ./data:/var/lib/ghost/content