0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-25 02:49:32 +01:00
posthog/bin/docker-server

17 lines
332 B
Plaintext
Raw Normal View History

2020-04-02 00:49:40 +02:00
#!/bin/bash
set -e
python manage.py migrate --check
gunicorn posthog.wsgi \
--config gunicorn.config.py \
--bind 0.0.0.0:8000 \
--log-file - \
--log-level info \
--access-logfile - \
--worker-tmp-dir /dev/shm \
--workers=2 \
--threads=4 \
--worker-class=gthread \
--limit-request-line=8190