0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-24 00:47:50 +01:00

Delete docker-preview (#3842)

This commit is contained in:
Michael Matloka 2021-04-01 16:46:09 +02:00 committed by GitHub
parent 97985695ea
commit 525e09c358
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,16 +0,0 @@
#!/bin/bash
set -e
export PGDATA=/var/lib/postgresql/data
export DATABASE_URL=postgres://posthog:posthog@localhost:5432/posthog
export REDIS_URL=redis://localhost
export DISABLE_SECURE_SSL_REDIRECT=1
export SECURE_COOKIES=0
export SECRET_KEY="This is pre-prod preview"
/etc/init.d/postgresql start > /dev/null
/etc/init.d/redis-server start > /dev/null
./bin/docker-worker &
gunicorn posthog.wsgi --config gunicorn.config.py --bind 0.0.0.0:8000 --log-file -