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:
parent
29194a83e1
commit
49446fdbe9
@ -73,7 +73,8 @@ RUN apk update && \
|
|||||||
postgresql-client \
|
postgresql-client \
|
||||||
postgresql-dev \
|
postgresql-dev \
|
||||||
postgresql-libs \
|
postgresql-libs \
|
||||||
uwsgi-logfile
|
uwsgi-logfile \
|
||||||
|
uwsgi-python3
|
||||||
|
|
||||||
COPY --from=builder /install/.venv/ ./.venv/
|
COPY --from=builder /install/.venv/ ./.venv/
|
||||||
COPY --from=builder /install/alembic/ ./alembic/
|
COPY --from=builder /install/alembic/ ./alembic/
|
||||||
|
@ -10,6 +10,7 @@ data:
|
|||||||
callable = app
|
callable = app
|
||||||
module = app
|
module = app
|
||||||
socket = /var/run/uwsgi/uwsgi.socket
|
socket = /var/run/uwsgi/uwsgi.socket
|
||||||
|
plugins-dir = /usr/lib/uwsgi
|
||||||
plugin = python3
|
plugin = python3
|
||||||
plugin = logfile
|
plugin = logfile
|
||||||
virtualenv = /opt/atat/atst/.venv
|
virtualenv = /opt/atat/atst/.venv
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
callable = app
|
callable = app
|
||||||
module = app
|
module = app
|
||||||
socket = /var/run/uwsgi/uwsgi.socket
|
socket = /var/run/uwsgi/uwsgi.socket
|
||||||
|
plugins-dir = /usr/lib/uwsgi
|
||||||
plugin = python3
|
plugin = python3
|
||||||
plugin = logfile
|
plugin = logfile
|
||||||
virtualenv = /opt/atat/atst/.venv
|
virtualenv = /opt/atat/atst/.venv
|
||||||
|
Loading…
x
Reference in New Issue
Block a user