mirror of
https://github.com/PostHog/posthog.git
synced 2024-11-21 21:49:51 +01:00
17 lines
319 B
Bash
Executable File
17 lines
319 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
./bin/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
|