From 22af0fb447dc0baaab6a609a50c7c8dd4733db79 Mon Sep 17 00:00:00 2001 From: James Loh Date: Thu, 3 Jul 2025 14:38:33 +1000 Subject: [PATCH] TB: Remove requirement for UUID setting Closes https://linear.app/ghost/issue/ENG-2442/ ref https://github.com/TryGhost/Ghost/commit/e97d6c027ca82c4595dc5700e651b9df382934ae - Ghost used to require this to set/manage a UUID in TB/clickhouse but we now use Ghost's generated one directly, instead of requiring it here - Cleaning this up because otherwise if they don't match the UI and the tracking events don't go to the same bucket --- .env.example | 1 - compose.yml | 2 -- 2 files changed, 3 deletions(-) diff --git a/.env.example b/.env.example index 9db0f33..569b653 100644 --- a/.env.example +++ b/.env.example @@ -17,6 +17,5 @@ DATABASE_PASSWORD=ghostpassword # Tinybird configuration for analytics TINYBIRD_API_URL=https://api.tinybird.co -TINYBIRD_ID=745d3247-e887-4873-84f7-7414ec758b83 TINYBIRD_TRACKER_TOKEN=p.eyJxxxxx TINYBIRD_STATS_TOKEN=p.eyJxxxxx diff --git a/compose.yml b/compose.yml index d8c3ae5..25c61f3 100644 --- a/compose.yml +++ b/compose.yml @@ -37,11 +37,9 @@ services: labs__trafficAnalytics: true labs__ActivityPub: true tinybird__tracker__endpoint: https://${DOMAIN:?DOMAIN environment variable is required}/.ghost/analytics/tb/web_analytics - tinybird__tracker__id: ${TINYBIRD_ID:-} tinybird__tracker__datasource: analytics_events tinybird__tracker__token: ${TINYBIRD_TRACKER_TOKEN:-} tinybird__stats__endpoint: ${TINYBIRD_API_URL:-https://api.tinybird.co} - tinybird__stats__id: ${TINYBIRD_ID:-} tinybird__stats__token: ${TINYBIRD_STATS_TOKEN:-} volumes: - ${UPLOAD_LOCATION:-./data/ghost}:/var/lib/ghost/content