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 |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/config.json b/config.json
index f2751c2..683359c 100644
--- a/config.json
+++ b/config.json
@@ -2,9 +2,13 @@
 	"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"
 		}

--
Gitblit v1.9.1