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