TB: Move configuration to UI instead of env

- TB can now be toggled via the UI and setting it via env variables means the setting can never be toggled on/off properly
- Doing it this way lets users control things more
This commit is contained in:
James Loh
2025-07-03 17:56:11 +10:00
parent 22af0fb447
commit f384c7b906
3 changed files with 25 additions and 13 deletions

View File

@@ -1,21 +1,33 @@
# 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
# 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
DATABASE_ROOT_PASSWORD=reallysecurerootpassword
DATABASE_USER=optionalusername
DATABASE_PASSWORD=ghostpassword
# Tinybird configuration for analytics
TINYBIRD_API_URL=https://api.tinybird.co
TINYBIRD_TRACKER_TOKEN=p.eyJxxxxx
TINYBIRD_STATS_TOKEN=p.eyJxxxxx