: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(ci): add personhog to docker compose dev (#61304)
Nick Best19efb58ee46d
diff --git a/docker-compose.dev.yml b/docker-compose.dev.ymlindex 5820ed2ef454..530cda3d3258 100644--- a/docker-compose.dev.yml+++ b/docker-compose.dev.yml@@ -163,6 +163,9 @@ services:CDP_REDIS_HOST: redis7# Encryption keys default is only set when NODE_ENV=dev, but the image uses productionENCRYPTION_SALT_KEYS: '00beef0000beef0000beef0000beef00'+ # PersonHog is required for CDP — point at the local gRPC router+ PERSONHOG_ADDR: 'personhog-router:50052'+ PERSONHOG_ENABLED: 'true'depends_on:kafka:condition: service_started@@ -170,6 +173,8 @@ services:condition: service_healthydb:condition: service_healthy+ personhog-router:+ condition: service_startedhealthcheck:test: ['CMD', 'curl', '-f', 'http://localhost:6738/_ready']interval: 5s@@ -538,6 +543,28 @@ services:environment:- AUTO_CREATE_SESSIONS=true+ personhog-replica:+ extends:+ file: docker-compose.base.yml+ service: personhog-replica+ environment:+ PRIMARY_DATABASE_URL: postgres://posthog:posthog@db:5432/${POSTHOG_PERSONS_DB_NAME:-posthog}+ depends_on:+ db:+ condition: service_healthy+ profiles:+ - ingestion++ personhog-router:+ extends:+ file: docker-compose.base.yml+ service: personhog-router+ depends_on:+ personhog-replica:+ condition: service_started+ profiles:+ - ingestion+feature-flags:extends:file: docker-compose.base.yml