GitDeployHub

PostHog/posthog

github.com/PostHog/posthog ↗
Django
9 environment variables found in .env.example

Set these on your host before deploying. Each platform has an “Environment Variables” section in the deploy flow.

  • OIDC_RSA_PRIVATE_KEY secret
  • SANDBOX_JWT_PRIVATE_KEY secret WARNING: This is for LOCAL DEVELOPMENT ONLY it should never be used in production. RS256 private key for sandbox JWT authentication (public…
  • LOCAL_POSTHOG_CODE_MONOREPO_ROOT Point this to your PostHog Code monorepo root to use the local version of your @posthog/agent package instead of the published version.…
  • SANDBOX_PROVIDER Sandbox provider (you can choose between "docker" or "modal")
  • SANDBOX_MCP_URL MCP URL the sandbox container reaches the host's MCP server at. host.docker.internal resolves to the host from inside the Docker sandbox.
  • DEBUG You probably want this on in development
  • ELEVENLABS_API_KEY secret Max hands-free mode (ElevenLabs Scribe for STT + ElevenLabs TTS for voice playback)
  • HEATMAP_BROWSERLESS_URL Browserless renders heatmap screenshots and image exports — there is no in-container browser. Local dev: start the optional service first,…
  • HEATMAP_BROWSERLESS_TOKEN secret
Or deploy to a different host
← Try another repo