Skip to content

Commit

Permalink
update dockerfile for future
Browse files Browse the repository at this point in the history
  • Loading branch information
Mropat committed Aug 26, 2021
1 parent ea81c68 commit d459c58
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM python:3.7-slim

ENV GUNICORN_WORKERS=1
ENV GUNICORN_TREADS=1
ENV GUNICORN_BIND="0.0.0.0:5000"
ENV GUNICORN_BIND="0.0.0.0:8000"
ENV GUNICORN_TIMEOUT=400

WORKDIR /home/src/app
Expand All @@ -17,5 +17,10 @@ CMD gunicorn \
--bind=$GUNICORN_BIND \
--threads=$GUNICORN_TREADS \
--timeout=$GUNICORN_TIMEOUT \
--proxy-protocol \
--forwarded-allow-ips="10.0.2.100,127.0.0.1" \
--log-syslog \
--access-logfile - \
--log-level="debug" \
trailblazer.server.app:app

0 comments on commit d459c58

Please sign in to comment.