Skip to content

: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.

fix(aio): run cymbal-resolution in hobby so cymbal stops crash-looping (#78781)

Carlos Marchaldbd7998fad35
diff --git a/docker-compose.hobby.yml b/docker-compose.hobby.yml
index d56d74ae12fd..443b5033d27a 100644
--- a/docker-compose.hobby.yml
+++ b/docker-compose.hobby.yml
@@ -641,6 +641,10 @@ services:
REDIS_URL: 'redis://redis7:6379/'
ISSUE_BUCKETS_REDIS_URL: 'redis://redis7:6379/'
RUST_LOG: 'info'
+ # Processing offloads all symbol resolution to cymbal-resolution over gRPC. Both are
+ # mandatory: startup aborts when either is empty, so omitting them crash-loops cymbal.
+ CYMBAL_REMOTE_RESOLUTION_HOST: 'cymbal-resolution'
+ INTERNAL_API_SECRET: $POSTHOG_SECRET
depends_on:
kafka-init:
condition: service_completed_successfully
@@ -650,6 +654,36 @@ services:
condition: service_healthy
redis7:
condition: service_healthy
+ cymbal-resolution:
+ condition: service_started
+
+ # The cymbal binary in resolution mode: the gRPC symbol-resolution service that cymbal's
+ # processing mode calls. Needs only Postgres and object storage — no Kafka or Redis — hence
+ # the narrower env than cymbal above.
+ cymbal-resolution:
+ image: ghcr.io/posthog/posthog/cymbal:master
+ build:
+ context: ./posthog/rust
+ args:
+ BIN: cymbal
+ restart: on-failure
+ logging: *default-logging
+ environment:
+ CYMBAL_MODE: resolution
+ GRPC_ADDRESS: '0.0.0.0:50061'
+ OBJECT_STORAGE_BUCKET: posthog
+ OBJECT_STORAGE_ACCESS_KEY_ID: 'any'
+ OBJECT_STORAGE_SECRET_ACCESS_KEY: 'any'
+ OBJECT_STORAGE_ENDPOINT: 'http://seaweedfs:8333'
+ OBJECT_STORAGE_FORCE_PATH_STYLE: 'true'
+ DATABASE_URL: 'postgres://posthog:posthog@db:5432/posthog'
+ INTERNAL_API_SECRET: $POSTHOG_SECRET
+ RUST_LOG: 'info'
+ depends_on:
+ seaweedfs:
+ condition: service_healthy
+ db:
+ condition: service_healthy
volumes:
zookeeper-data: