ufal / mtmonkey

Distributed infrastructure for Machine Translation web services (using Moses, Python, JSON-RPC/web interface)
Other
33 stars 9 forks source link

Allow configurable host address #16

Closed pompomon closed 2 years ago

pompomon commented 2 years ago

To support port forwarding from Docker, Flask server needs to run on an address different from 127.0.0.1 (see blog-post) This change enables the user to specify host address used by Flask. By default empty value would still go t o127.0.0.1