Skip to content

Commit

Permalink
Log web access in docker (#2230)
Browse files Browse the repository at this point in the history
This is needed to close PostHog/deployment#32
and debug #2135
  • Loading branch information
macobo authored Nov 5, 2020
1 parent 4707fe8 commit 67debac
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion bin/docker-server
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
#!/bin/bash
set -e

gunicorn posthog.wsgi --config gunicorn.config.py --bind 0.0.0.0:8000 --log-file - --worker-tmp-dir /dev/shm --workers=2 --threads=4 --worker-class=gthread
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

0 comments on commit 67debac

Please sign in to comment.