:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
fix(hobby): point logs ClickHouse and flags service at in-cluster containers (#70092)
Paul D'Ambrada154df46ab3
diff --git a/docker-compose.dev-full.yml b/docker-compose.dev-full.ymlindex 8b567f5f5d2c..33113d333461 100644--- a/docker-compose.dev-full.yml+++ b/docker-compose.dev-full.yml@@ -111,6 +111,9 @@ services:environment:- DEBUG=1- PLUGIN_SERVER_IDLE=1+ - FEATURE_FLAGS_SERVICE_URL=http://feature-flags:3001+ - CLICKHOUSE_LOGS_CLUSTER_HOST=clickhouse+ - CLICKHOUSE_LOGS_CLUSTER_SECURE=falseweb:extends:@@ -127,6 +130,9 @@ services:- OBJECT_STORAGE_ENDPOINT=http://objectstorage:19000- POSTHOG_SKIP_MIGRATION_CHECKS=true- JS_URL=http://localhost:8000+ - FEATURE_FLAGS_SERVICE_URL=http://feature-flags:3001+ - CLICKHOUSE_LOGS_CLUSTER_HOST=clickhouse+ - CLICKHOUSE_LOGS_CLUSTER_SECURE=falsedepends_on:- db- redis7@@ -240,6 +246,10 @@ services:build: .volumes:- .:/app/posthog+ environment:+ - FEATURE_FLAGS_SERVICE_URL=http://feature-flags:3001+ - CLICKHOUSE_LOGS_CLUSTER_HOST=clickhouse+ - CLICKHOUSE_LOGS_CLUSTER_SECURE=falsedepends_on:- db- redis7diff --git a/docker-compose.hobby.yml b/docker-compose.hobby.ymlindex 747bb5d65f16..6ff9a54dcec5 100644--- a/docker-compose.hobby.yml+++ b/docker-compose.hobby.yml@@ -102,6 +102,16 @@ services:BROWSERLESS_TOKEN: ${BROWSERLESS_SECRET:-$POSTHOG_SECRET}HEATMAP_BROWSERLESS_URL: 'http://browserless:3000'HEATMAP_BROWSERLESS_TOKEN: ${BROWSERLESS_SECRET:-$POSTHOG_SECRET}+ # Point Django at the Rust feature-flags container; the setting+ # otherwise defaults to localhost:3001.+ FEATURE_FLAGS_SERVICE_URL: 'http://feature-flags:3001'+ # The logs product uses a dedicated ClickHouse cluster config (separate+ # from CLICKHOUSE_HOST) whose host defaults to localhost and whose SECURE+ # defaults to true outside DEBUG. Point it at the stack's ClickHouse over+ # plaintext; the other logs-cluster settings already default correctly+ # (native port 9000, user "default", empty password).+ CLICKHOUSE_LOGS_CLUSTER_HOST: 'clickhouse'+ CLICKHOUSE_LOGS_CLUSTER_SECURE: 'false'# AI provider keys for PostHog's AI features. Blank unless set in .env.ANTHROPIC_API_KEY: ${ANTHROPIC_API_KEY:-}OPENAI_API_KEY: ${OPENAI_API_KEY:-}@@ -151,6 +161,16 @@ services:DEPLOYMENT: 'hobby'PERSONHOG_ADDR: 'personhog-router:50052'PERSONHOG_ENABLED: 'true'+ # Point Django at the Rust feature-flags container; the setting+ # otherwise defaults to localhost:3001.+ FEATURE_FLAGS_SERVICE_URL: 'http://feature-flags:3001'+ # The logs product uses a dedicated ClickHouse cluster config (separate+ # from CLICKHOUSE_HOST) whose host defaults to localhost and whose SECURE+ # defaults to true outside DEBUG. Point it at the stack's ClickHouse over+ # plaintext; the other logs-cluster settings already default correctly+ # (native port 9000, user "default", empty password).+ CLICKHOUSE_LOGS_CLUSTER_HOST: 'clickhouse'+ CLICKHOUSE_LOGS_CLUSTER_SECURE: 'false'# AI provider keys for PostHog's AI features. Blank unless set in .env.ANTHROPIC_API_KEY: ${ANTHROPIC_API_KEY:-}OPENAI_API_KEY: ${OPENAI_API_KEY:-}@@ -407,6 +427,18 @@ services:BROWSERLESS_TOKEN: ${BROWSERLESS_SECRET:-$POSTHOG_SECRET}HEATMAP_BROWSERLESS_URL: 'http://browserless:3000'HEATMAP_BROWSERLESS_TOKEN: ${BROWSERLESS_SECRET:-$POSTHOG_SECRET}+ # Point Django at the Rust feature-flags container; the setting+ # otherwise defaults to localhost:3001.+ FEATURE_FLAGS_SERVICE_URL: 'http://feature-flags:3001'+ # The logs product uses a dedicated ClickHouse cluster config (separate+ # from CLICKHOUSE_HOST) whose host defaults to localhost and whose SECURE+ # defaults to true outside DEBUG. Point it at the stack's ClickHouse over+ # plaintext; the other logs-cluster settings already default correctly+ # (native port 9000, user "default", empty password). This worker runs+ # the logs alert-check Temporal activities, which query ClickHouse under+ # Workload.LOGS.+ CLICKHOUSE_LOGS_CLUSTER_HOST: 'clickhouse'+ CLICKHOUSE_LOGS_CLUSTER_SECURE: 'false'# AI provider keys for PostHog's AI features. Blank unless set in .env.ANTHROPIC_API_KEY: ${ANTHROPIC_API_KEY:-}OPENAI_API_KEY: ${OPENAI_API_KEY:-}