Files
ghost-docker/.env.example
James Loh 8d0d565df9 Caddy: Move to more templated approach
no ref

- The goal here is to be able to provide more functionality to self-hosters through snippets and other segmented config
- Some customers run Admin <-> content domains on separate ones which our current config doesn't support
- Our current config also hardcodes a www redirect which complicates setups when you don't have that domain setup or don't even want it
- Moving to a default template customers will have to copy which includes snippets allows us to update these later on without breaking peoples setups
2025-07-15 15:44:28 +10:00

57 lines
1.7 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_TRAFFIC_ANALYTICS=false
# ActivityPub
ENABLE_ACTIVITYPUB=false
# If you'd prefer to self-host ActivityPub yourself uncomment the below line
# ACTIVITYPUB_TARGET=activitypub:8080
# Tinybird configuration
TINYBIRD_API_URL=https://api.tinybird.co
TINYBIRD_TRACKER_TOKEN=p.eyJxxxxx
TINYBIRD_ADMIN_TOKEN=p.eyJxxxxx
TINYBIRD_WORKSPACE_ID=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
# 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/)
# SMTP Email (https://ghost.org/docs/config/#mail)
# Transactional email is required for logins, account creation (staff invites), password resets and other features
# This is not related to bulk mail / newsletter sending
# 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