From 785dbd3de4f974566919789b1a50f8bf32977dbc Mon Sep 17 00:00:00 2001 From: Lova ANDRIARIMALALA <43842786+Xpirix@users.noreply.github.com> Date: Thu, 30 May 2024 10:13:55 +0300 Subject: [PATCH 1/2] Use docker image for the uwsgi service --- dockerize/.env.template | 3 +++ dockerize/docker-compose.yml | 5 +---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dockerize/.env.template b/dockerize/.env.template index 5175f3ff..d91681ee 100644 --- a/dockerize/.env.template +++ b/dockerize/.env.template @@ -38,3 +38,6 @@ SENTRY_DSN='' # Download stats URL METABASE_DOWNLOAD_STATS_URL='https://plugins.qgis.org/metabase/public/dashboard/' + +# Uwsgi Docker image +UWSGI_DOCKER_IMAGE='xpirix/qgis-plugins-uwsgi:1.0.0' \ No newline at end of file diff --git a/dockerize/docker-compose.yml b/dockerize/docker-compose.yml index 5fd84d1e..1fbcb987 100644 --- a/dockerize/docker-compose.yml +++ b/dockerize/docker-compose.yml @@ -27,10 +27,7 @@ services: internal: uwsgi: &uwsgi-common - build: - context: ${PWD}/../ - dockerfile: dockerize/docker/Dockerfile - target: prod + image: ${UWSGI_DOCKER_IMAGE} hostname: uwsgi expose: - "8080" From 0b1fc537cda51dcf6ca787560c5f008923d2e970 Mon Sep 17 00:00:00 2001 From: Lova ANDRIARIMALALA <43842786+Xpirix@users.noreply.github.com> Date: Thu, 30 May 2024 10:30:34 +0300 Subject: [PATCH 2/2] Use kartoza repo for uwsgi docker image --- dockerize/.env.template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dockerize/.env.template b/dockerize/.env.template index d91681ee..4c6d3ad4 100644 --- a/dockerize/.env.template +++ b/dockerize/.env.template @@ -40,4 +40,4 @@ SENTRY_DSN='' METABASE_DOWNLOAD_STATS_URL='https://plugins.qgis.org/metabase/public/dashboard/' # Uwsgi Docker image -UWSGI_DOCKER_IMAGE='xpirix/qgis-plugins-uwsgi:1.0.0' \ No newline at end of file +UWSGI_DOCKER_IMAGE='kartoza/qgis-plugins-uwsgi:latest' \ No newline at end of file