Skip to content

hatamiarash7/Docker-Posthog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker Posthog

Deploy Posthog using Docker

logo

Install

docker-compose up -d

The image has everything you need to try out PostHog locally! It will set up a server on http://127.0.0.1:8000.

Env

  • Make sure to add DEBUG=1 as an environment variable, otherwise you'll get stuck in an infinite loop of SSL redirects

  • PostHog assumes you want to use SSL and will redirect you to https://... To avoid this, set DISABLE_SECURE_SSL_REDIRECT=1