Commit f6825348 authored by Lukas Böhm's avatar Lukas Böhm
Browse files

fix gunicorn calls

parent 556f3971
......@@ -14,4 +14,4 @@ COPY chiefsend.py chiefsend.py
ENV FLASK_APP chiefsend.py
EXPOSE 5000
ENTRYPOINT gunicorn -b :5000 --workers=3 --timeout=90 --graceful-timeout=30 --log-level=DEBUG --access-logfile - --error-logfile - chiefsend:app
ENTRYPOINT gunicorn -b localhost:5000 --workers=3 --timeout=90 --graceful-timeout=30 --log-level=DEBUG --access-logfile - --error-logfile - chiefsend:app
......@@ -4,7 +4,7 @@ Description=Chiefsend Web Service gunicorn Worker
[Service]
Type=simple
WorkingDirectory=/home/chief/chiefsend
ExecStart=/home/chief/chiefsend/venv/bin/gunicorn -b :5000 --workers=3 --access-logfile /home/chief/chiefsend/log.txt --error-logfile /home/chief/chiefsend/errlog.txt chiefsend:app --timeout 200
ExecStart=/home/chief/chiefsend/venv/bin/gunicorn -b localhost:5000 --workers=3 --access-logfile /home/chief/chiefsend/log.txt --error-logfile /home/chief/chiefsend/errlog.txt chiefsend:app --timeout 200
Restart=on-failure
[Install]
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment