From f0d935291715742b2e9f71c1b5e1ecbf23d02eff Mon Sep 17 00:00:00 2001 From: Jacek Kowalski <Jacek@jacekk.info> Date: Mon, 18 May 2020 18:43:06 +0000 Subject: [PATCH] Replace uwsgi with waitress due to 400 Bad Request issues --- config.json | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/config.json b/config.json index 037faca..683359c 100644 --- a/config.json +++ b/config.json @@ -2,16 +2,17 @@ "description": "pyIPAM - IPAM driver in Python", "documentation": "https://github.com/jacekkow/docker-plugin-pyipam", "workdir": "/usr/src/app", - "entrypoint": ["uwsgi", "--ini", "uwsgi.ini"], + "entrypoint": ["./run.py"], "env": [ + { + "name": "ENVIRONMENT", + "value": "production" + }, { "name": "HOME", "value": "/usr/src/app" } ], - "network": { - "type": "none" - }, "interface" : { "types": ["docker.ipamdriver/1.0"], "socket": "pyipam.sock" -- Gitblit v1.9.1