Update compose and env files

This commit is contained in:
2025-04-27 22:35:22 +00:00
parent a42bd5b5aa
commit 0467abeb28
2 changed files with 19 additions and 1 deletions

View File

@ -1 +1,7 @@
url= URL=
MAIL_HOST=
MAIL_PORT=465
MAIL_SECURE=true
MAIL_USERNAME=
MAIL_PASSWORD=
MAIL_FROM=

View File

@ -12,8 +12,20 @@ services:
networks: networks:
- caddy - caddy
environment: environment:
# DB
database__client: sqlite3 database__client: sqlite3
database__connection__filename: content/data/ghost.db database__connection__filename: content/data/ghost.db
# App
NODE_ENV: production 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: volumes:
- ./data:/var/lib/ghost/content - ./data:/var/lib/ghost/content