From db0dd6b5a10c4cd063bb46a2c36aadd2bf9b6cb3 Mon Sep 17 00:00:00 2001 From: "Fergus MacConnell WLRS:EX" Date: Wed, 18 Dec 2024 11:06:54 -0800 Subject: [PATCH] Update database service selector name. --- database/openshift.deploy.yml | 2 +- docker-compose.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/database/openshift.deploy.yml b/database/openshift.deploy.yml index aac5ffcb2..37a4e450e 100644 --- a/database/openshift.deploy.yml +++ b/database/openshift.deploy.yml @@ -127,7 +127,7 @@ objects: protocol: TCP targetPort: 5432 selector: - deployment: ${REPO}-${ZONE}-${COMPONENT} + name: ${REPO}-${ZONE}-${COMPONENT} sessionAffinity: None type: ClusterIP status: diff --git a/docker-compose.yml b/docker-compose.yml index 1e04ebe82..2ab7cbc9d 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -212,8 +212,8 @@ services: DJANGO_SECRET_KEY: secret ENABLE_ADDITIONAL_DOCUMENTS: "true" ENABLE_AQUIFERS_SEARCH: "true" - GWELLS_SERVICE_HOST: "${GWELLS_SERVICE_HOST:-db}" - GWELLS_SERVICE_PORT: "${GWELLS_SERVICE_PORT:-5432}" + # GWELLS_SERVICE_HOST: "${GWELLS_SERVICE_HOST:-db}" + # GWELLS_SERVICE_PORT: "${GWELLS_SERVICE_PORT:-5432}" MINIO_ACCESS_KEY: minio MINIO_SECRET_KEY: minio1234 PYTHONUNBUFFERED: "1"