See Issue #826
Fixes dockerapi-mailcow_1 | raise TypeError('port must be an integer') Containers are now restarting.master
parent
aa96f227d8
commit
236e4d4a36
|
@ -110,7 +110,7 @@ class GracefulKiller:
|
||||||
self.kill_now = True
|
self.kill_now = True
|
||||||
|
|
||||||
def startFlaskAPI():
|
def startFlaskAPI():
|
||||||
app.run(debug=False, host='0.0.0.0', port='8080', threaded=True)
|
app.run(debug=False, host='0.0.0.0', port=8080, threaded=True)
|
||||||
|
|
||||||
api.add_resource(containers_get, '/containers/json')
|
api.add_resource(containers_get, '/containers/json')
|
||||||
api.add_resource(container_get, '/containers/<string:container_id>/json')
|
api.add_resource(container_get, '/containers/<string:container_id>/json')
|
||||||
|
|
Loading…
Reference in New Issue