0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-22 17:24:15 +01:00
posthog/bin/docker-preview

10 lines
340 B
Bash
Executable File

#!/bin/bash
set -e
export PGDATA=/var/lib/postgresql/data
export DATABASE_URL=postgres://posthog:posthog@localhost:5432/posthog
/etc/init.d/postgresql start > /dev/null
DEBUG=1 gunicorn posthog.wsgi --config gunicorn.config.py --bind 0.0.0.0:8000 --log-file - -e DEBUG=1 -e DATABASE_URL=postgres://posthog:posthog@localhost:5432/posthog