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

@@ -33,9 +33,8 @@ services:
database__connection__user: ${DATABASE_USER:-ghost}
database__connection__password: ${DATABASE_PASSWORD:?DATABASE_PASSWORD environment variable is required}
database__connection__database: ghost
enableDeveloperExperiments: true
labs__trafficAnalytics: true
labs__ActivityPub: true
enableDeveloperExperiments: ${ENABLE_DEVELOPER_EXPERIMENTS:-false}
labs__ActivityPub: ${ENABLE_ACTIVITYPUB:-false}
tinybird__tracker__endpoint: https://${DOMAIN:?DOMAIN environment variable is required}/.ghost/analytics/tb/web_analytics
tinybird__tracker__datasource: analytics_events
tinybird__tracker__token: ${TINYBIRD_TRACKER_TOKEN:-}