mirror of
https://github.com/bunkerity/bunkerized-nginx
synced 2023-12-13 21:30:18 +01:00
UI - bind gunicorn to 127.0.0.1/0.0.0.0:5000
This commit is contained in:
parent
4dd1ff8479
commit
ba197dfa43
2 changed files with 2 additions and 2 deletions
|
@ -20,4 +20,4 @@ EXPOSE 5000
|
|||
|
||||
WORKDIR /opt/bunkerized-nginx/ui
|
||||
USER nginx:nginx
|
||||
ENTRYPOINT ["/usr/bin/gunicorn", "--bind", "unix:bunkerized-nginx-ui.sock", "-m", "007", "wsgi:app"]
|
||||
ENTRYPOINT ["/usr/bin/gunicorn", "--bind", "0.0.0.0:5000", "-m", "007", "wsgi:app"]
|
|
@ -6,7 +6,7 @@ After=network.target
|
|||
User=nginx
|
||||
Group=nginx
|
||||
WorkingDirectory=/opt/bunkerized-nginx/ui
|
||||
ExecStart=gunicorn --bind unix:bunkerized-nginx-ui.sock -m 007 wsgi:app
|
||||
ExecStart=gunicorn --bind 127.0.0.1:5000 -m 007 wsgi:app
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Loading…
Reference in a new issue