Skip to content
Snippets Groups Projects
Commit 9e2cc648 authored by Patrick Jentsch's avatar Patrick Jentsch
Browse files

Add NOPAQUE_HOST and NOPAQUE_PORT variables

parent ab217683
No related branches found
No related tags found
No related merge requests found
...@@ -110,6 +110,12 @@ NOPAQUE_ADMIN_EMAIL_ADRESS= ...@@ -110,6 +110,12 @@ NOPAQUE_ADMIN_EMAIL_ADRESS=
# DEFAULT: localhost # DEFAULT: localhost
# NOPAQUE_DOMAIN= # NOPAQUE_DOMAIN=
# DEFAULT: 0.0.0.0
# NOPAQUE_HOST=
# DEFAULT: 5000
# NOPAQUE_PORT=
# CHOOSE ONE: http, https # CHOOSE ONE: http, https
# DEFAULT: http # DEFAULT: http
# NOPAQUE_PROTOCOL= # NOPAQUE_PROTOCOL=
......
...@@ -60,4 +60,6 @@ def test(): ...@@ -60,4 +60,6 @@ def test():
if __name__ == '__main__': if __name__ == '__main__':
socketio.run(app, host='0.0.0.0') host = os.environ.get('NOPAQUE_HOST', '0.0.0.0')
port = int(os.environ.get('NOPAQUE_PORT', '5000'))
socketio.run(app, host=host, port=port)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment