Files
sase.tr/docker-compose.coolify.yml
Semih Yesilyurt b56ea7c0fb
Some checks failed
QA Gate (P0/P1) / Test affected app (pull_request) Has been cancelled
chore(infra): wire POSTHOG_API_KEY/POSTHOG_HOST into api+worker compose env
Server-side PostHog was disabled in prod (POSTHOG_API_KEY never reached the
container — it wasn't referenced in the compose environment blocks, and per
prior Coolify experience env only injects when referenced as ${VAR}). So all
server-side events (payment_success/failed/refunded, subscription_activated)
silently no-op'd. Reference the vars in both api and worker environment blocks
so a Coolify-set value reaches the container. POSTHOG_HOST defaults to the EU
ingestion host; empty key keeps it disabled (e.g. on dev, to avoid polluting
the prod project).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-03 16:10:21 +03:00

8.8 KiB