host and port
This commit is contained in:
2
main.py
2
main.py
@@ -22,4 +22,4 @@ def run():
|
||||
response['response'].update(processor.process())
|
||||
return response
|
||||
|
||||
app.run()
|
||||
app.run(host="0.0.0.0", port=8000)
|
||||
|
||||
@@ -5,7 +5,7 @@ http {
|
||||
listen 1238;
|
||||
|
||||
location / {
|
||||
proxy_pass http://api:5000/;
|
||||
proxy_pass http://api:8000/;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user