Files
ghost-docker/.env.example
James Loh cad2d17db5 Ghost: Added some very basic mail setup placeholders
ref https://linear.app/ghost/issue/ENG-2435

- Mail must be setup to have a proper functioning Ghost install
- Bulk mail doesn't require env variables but standard SMTP mail does
- We'll update the docs but prompting users in the example env file is a starting point
2025-07-10 13:11:09 +10:00

51 lines
1.5 KiB
Plaintext

# Use the below flags to enable the Analytics or ActivityPub containers as well
# Note: You must set ENABLE_DEVELOPER_EXPERIMENTS to `true` when enabling either profile below
# COMPOSE_PROFILES=analytics,activitypub
# Which Ghost version to run
GHOST_VERSION=5-alpine
# Public domain Ghost is going to run on
DOMAIN=example.com
# Database settings
DATABASE_ROOT_PASSWORD=reallysecurerootpassword
DATABASE_USER=optionalusername
DATABASE_PASSWORD=ghostpassword
# Port Ghost should listen on
# You should only need to edit this if you want to host
# multiple sites on the same server
# GHOST_PORT=2368
# Developer Experiences must be enabled for
# both Traffic Analytics and ActivityPub
ENABLE_DEVELOPER_EXPERIMENTS=false
# Developer Experiments must be enabled above
ENABLE_ACTIVITYPUB=false
# Tinybird configuration
TINYBIRD_API_URL=https://api.tinybird.co
TINYBIRD_TRACKER_TOKEN=p.eyJxxxxx
TINYBIRD_STATS_TOKEN=p.eyJxxxxx
# Data locations
# Location to store uploaded data
UPLOAD_LOCATION=./data/ghost
# Location for database data
MYSQL_DATA_LOCATION=./data/mysql
# Ghost configuration (https://ghost.org/docs/config/)
# Email (https://ghost.org/docs/config/#mail)
# Email is critical for account creation (Staff invites), password resets and othere pieces of functionality
# Even if you aren't using Ghost's newsletters features it should be set up
# mail__transport=SMTP
# mail__options__host=smtp.example.com
# mail__options__port=465
# mail__options__secure=true
# mail__options__auth__user=postmaster@example.com
# mail__options__auth__pass=1234567890