uWSGI plugin config changes.

uWGI was generating warnings about being unable to find plugin files we
specify. To fix this, I've added uwsgi-python3 to the list of Alpine
packages we install in the container specified the plugins directory in
the uWSGI config. The updated uWSGI ConfigMap has been applied to the
staging cluster, which eliminated the warning about the logfile plugin.
The remaining warning about the python3 plugin will be eliminated once
the new container built by this branch is deployed.
This commit is contained in:
dandds 2020-01-09 11:36:00 -05:00
parent 29194a83e1
commit 49446fdbe9
3 changed files with 4 additions and 1 deletions

View File

@ -73,7 +73,8 @@ RUN apk update && \
postgresql-client \
postgresql-dev \
postgresql-libs \
uwsgi-logfile
uwsgi-logfile \
uwsgi-python3
COPY --from=builder /install/.venv/ ./.venv/
COPY --from=builder /install/alembic/ ./alembic/

View File

@ -10,6 +10,7 @@ data:
callable = app
module = app
socket = /var/run/uwsgi/uwsgi.socket
plugins-dir = /usr/lib/uwsgi
plugin = python3
plugin = logfile
virtualenv = /opt/atat/atst/.venv

View File

@ -2,6 +2,7 @@
callable = app
module = app
socket = /var/run/uwsgi/uwsgi.socket
plugins-dir = /usr/lib/uwsgi
plugin = python3
plugin = logfile
virtualenv = /opt/atat/atst/.venv