Externalize postgres version

This commit is contained in:
Martin Lablans 2024-02-09 17:14:45 +01:00 committed by juarez
parent 8d4f487806
commit 90ee8d63f7
5 changed files with 5 additions and 4 deletions

View File

@ -48,7 +48,7 @@ services:
opal-db: opal-db:
container_name: bridgehead-opal-db container_name: bridgehead-opal-db
image: docker.verbis.dkfz.de/cache/postgres:15.4-alpine image: docker.verbis.dkfz.de/cache/postgres:${POSTGRES_TAG}
environment: environment:
POSTGRES_PASSWORD: "${OPAL_DB_PASSWORD}" # Set in datashield-setup.sh POSTGRES_PASSWORD: "${OPAL_DB_PASSWORD}" # Set in datashield-setup.sh
POSTGRES_USER: "opal" POSTGRES_USER: "opal"

View File

@ -27,7 +27,7 @@ services:
- "/var/cache/bridgehead/ccp/exporter-files:/app/exporter-files/output" - "/var/cache/bridgehead/ccp/exporter-files:/app/exporter-files/output"
exporter-db: exporter-db:
image: docker.verbis.dkfz.de/cache/postgres:15.4-alpine image: docker.verbis.dkfz.de/cache/postgres:${POSTGRES_TAG}
container_name: bridgehead-ccp-exporter-db container_name: bridgehead-ccp-exporter-db
environment: environment:
POSTGRES_USER: "exporter" POSTGRES_USER: "exporter"

View File

@ -44,7 +44,7 @@ services:
- patientlist-db - patientlist-db
patientlist-db: patientlist-db:
image: docker.verbis.dkfz.de/cache/postgres:15.6-alpine image: docker.verbis.dkfz.de/cache/postgres:${POSTGRES_TAG}
container_name: bridgehead-patientlist-db container_name: bridgehead-patientlist-db
environment: environment:
POSTGRES_USER: "mainzelliste" POSTGRES_USER: "mainzelliste"

View File

@ -3,7 +3,7 @@ version: "3.7"
services: services:
login-db: login-db:
image: docker.verbis.dkfz.de/cache/postgres:15.4-alpine image: docker.verbis.dkfz.de/cache/postgres:${POSTGRES_TAG}
container_name: bridgehead-login-db container_name: bridgehead-login-db
environment: environment:
POSTGRES_USER: "keycloak" POSTGRES_USER: "keycloak"

View File

@ -14,6 +14,7 @@ ENABLE_LOGIN=true
ENABLE_TEILER=true ENABLE_TEILER=true
#ENABLE_DATASHIELD=true #ENABLE_DATASHIELD=true
POSTGRES_TAG=15.6-alpine
for module in $PROJECT/modules/*.sh for module in $PROJECT/modules/*.sh
do do