From 236e4d4a36667045a5f1302d8c4948be5eed0e1c Mon Sep 17 00:00:00 2001 From: Oratorian Date: Mon, 18 Dec 2017 16:41:04 +0100 Subject: [PATCH] See Issue #826 Fixes dockerapi-mailcow_1 | raise TypeError('port must be an integer') Containers are now restarting. --- data/Dockerfiles/dockerapi/server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/Dockerfiles/dockerapi/server.py b/data/Dockerfiles/dockerapi/server.py index 1f0223ac..25969681 100644 --- a/data/Dockerfiles/dockerapi/server.py +++ b/data/Dockerfiles/dockerapi/server.py @@ -110,7 +110,7 @@ class GracefulKiller: self.kill_now = True 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(container_get, '/containers//json')