Skip to content

fix(service): posthog template#8739

Open
n0 wants to merge 1 commit intocoollabsio:nextfrom
n0:fix/posthog-template
Open

fix(service): posthog template#8739
n0 wants to merge 1 commit intocoollabsio:nextfrom
n0:fix/posthog-template

Conversation

@n0
Copy link

@n0 n0 commented Mar 2, 2026

Changes

Rewrote PostHog template. It has been disabled since September 2025 #6677 (⁶🤷‍♂️⁷ just had to) because of broken ClickHouse configs and missing env vars.

What changed:

  • ClickHouse configs are now inline via content: mounts instead of downloading from GitHub at runtime
  • Added the missing hobby deployment services (temporal, livestream, feature-flags, capture, replay-capture, cymbal, etc)
  • Added a geoip-init container that downloads the MaxMind DB from PostHog so cymbal/feature-flags don't crash
  • Caddy config routes capture/replay/livestream/flags to the right backend services
  • Fixed missing env vars (TEMPORAL_HOST, CLICKHOUSE_API/APP users, etc)

Issues

Category

  • Fixing or updating existing one click service

AI Usage

  • AI is NOT used in the process of creating this PR

Steps to Test

  • Step 1 - create a new service, paste the yaml from templates/compose/posthog.yaml
  • Step 2 - deploy, wait a few minutes for initial migrations to finish
  • Step 3 - hit the service url, should redirect to /preflight setup page

Contributor Agreement

Important

  • I have read and understood the contributor guidelines. If I have failed to follow any guideline, I understand that this PR may be closed without review.
  • I have tested the changes thoroughly and am confident that they will work as expected without issues when the maintainer tests them

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant