Fixes dockerapi-mailcow_1 | raise TypeError('port must be an integer')

Containers are now restarting.
master
Oratorian 2017-12-18 16:41:04 +01:00 committed by GitHub
parent aa96f227d8
commit 236e4d4a36
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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')