From 3e641fb208e09c20ecb89071f8d2f324e6e32f9e Mon Sep 17 00:00:00 2001 From: Jacek Kowalski <Jacek@jacekk.info> Date: Mon, 04 May 2020 17:48:30 +0000 Subject: [PATCH] Various cleanup and uWSGI tuning --- .dockerignore | 6 ++++-- test_integration.sh | 12 ++++++++++++ uwsgi.ini | 6 +++--- 3 files changed, 19 insertions(+), 5 deletions(-) diff --git a/.dockerignore b/.dockerignore index 109bce0..0d0a628 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,9 +1,11 @@ __pycache__ +/.dockerignore /.git +/.github /.gitignore /.idea /config.json +/package.sh /rootfs -/test -/test.sh +/test* /venv diff --git a/test_integration.sh b/test_integration.sh index c33f157..8dbdc61 100755 --- a/test_integration.sh +++ b/test_integration.sh @@ -50,4 +50,16 @@ --gateway 2001:db8:ffff:ffff:ffff:ffff:ffff:ffff \ test2 +ROUTES=$(docker run --rm --network test2 \ + debian \ + /bin/ip route show +) +echo "${ROUTES}" | grep 192.168.255.254 + +ROUTES=$(docker run --rm --network test2 \ + debian \ + /bin/ip -6 route show +) +echo "${ROUTES}" | grep 2001:db8:ffff:ffff:ffff:ffff:ffff:ffff + docker network rm test2 diff --git a/uwsgi.ini b/uwsgi.ini index 5b71973..54d12ba 100644 --- a/uwsgi.ini +++ b/uwsgi.ini @@ -4,12 +4,12 @@ ;uid = 65534 ;gid = 65534 -die-on-term = 1 -honour-stdin = 1 +die-on-term = true +honour-stdin = true master = true processes = 1 -threads = 1 +single-interpreter = true plugins = python3 module = run -- Gitblit v1.9.1