flask socketio docker deploy code example
Example 1: docker flask can't connect
if __name__ == '__main__':
app.run(host='0.0.0.0')
Example 2: flask socketio with gevent
$ uwsgi --http :5000 --gevent 1000 --http-websockets --master --wsgi-file app.py --callable app