mirror of
https://github.com/samply/bridgehead.git
synced 2026-02-18 00:30:10 +01:00
mainzelliste test
This commit is contained in:
@@ -3,4 +3,5 @@
|
|||||||
if [ -n "$ENABLE_OMICS" ];then
|
if [ -n "$ENABLE_OMICS" ];then
|
||||||
OVERRIDE+=" -f ./$PROJECT/modules/itcc-omics-ingest.yaml"
|
OVERRIDE+=" -f ./$PROJECT/modules/itcc-omics-ingest.yaml"
|
||||||
GENERATE_API_KEY="$(generate_simple_password 'omics')"
|
GENERATE_API_KEY="$(generate_simple_password 'omics')"
|
||||||
|
PATIENTLIST_POSTGRES_PASSWORD=="$(generate_simple_password 'mainzelliste')"
|
||||||
fi
|
fi
|
||||||
@@ -12,3 +12,38 @@ services:
|
|||||||
- "traefik.http.routers.omics.tls=true"
|
- "traefik.http.routers.omics.tls=true"
|
||||||
- "traefik.http.middlewares.omics-stripprefix.stripprefix.prefixes=/api"
|
- "traefik.http.middlewares.omics-stripprefix.stripprefix.prefixes=/api"
|
||||||
- "traefik.http.routers.omics.middlewares=omics-stripprefix"
|
- "traefik.http.routers.omics.middlewares=omics-stripprefix"
|
||||||
|
|
||||||
|
mzl-db:
|
||||||
|
image: postgres:15
|
||||||
|
container_name: mzl-db
|
||||||
|
restart: unless-stopped
|
||||||
|
environment:
|
||||||
|
POSTGRES_DB: mainzelliste
|
||||||
|
POSTGRES_USER: ${ML_DB_USER}
|
||||||
|
POSTGRES_PASSWORD: ${PATIENTLIST_POSTGRES_PASSWORD}
|
||||||
|
ports:
|
||||||
|
- "5432:5432"
|
||||||
|
volumes:
|
||||||
|
- db_data:/var/lib/postgresql/data
|
||||||
|
|
||||||
|
mainzelliste:
|
||||||
|
image: medicalinformatics/mainzelliste:latest
|
||||||
|
container_name: mainzelliste
|
||||||
|
restart: unless-stopped
|
||||||
|
depends_on:
|
||||||
|
- db
|
||||||
|
|
||||||
|
ports:
|
||||||
|
- 7887:8080
|
||||||
|
|
||||||
|
environment:
|
||||||
|
ML_API_KEY: ${GENERATE_API_KEY}
|
||||||
|
ML_DB_HOST: db
|
||||||
|
ML_DB_PORT: "5432"
|
||||||
|
ML_DB_NAME: mainzelliste
|
||||||
|
ML_DB_USER: ${ML_DB_USER}
|
||||||
|
ML_DB_PASS: ${PATIENTLIST_POSTGRES_PASSWORD}
|
||||||
|
ML_LOG_LEVEL: INFO
|
||||||
|
volumes:
|
||||||
|
- /etc/bridgehead/mainzelliste/mainzelliste.conf:/etc/mainzelliste/mainzelliste.conf
|
||||||
|
- /etc/bridgehead/mainzelliste/keyset_siv.json:/etc/resources/keys/symmetric_key.der
|
||||||
|
|||||||
@@ -8,6 +8,8 @@ PRIVATEKEYFILENAME=/etc/bridgehead/pki/${SITE_ID}.priv.pem
|
|||||||
BROKER_URL_FOR_PREREQ=$BROKER_URL
|
BROKER_URL_FOR_PREREQ=$BROKER_URL
|
||||||
PUBLIC_ENVIRONMENT=prod
|
PUBLIC_ENVIRONMENT=prod
|
||||||
|
|
||||||
|
ML_DB_USER=mainzelliste
|
||||||
|
|
||||||
for module in $PROJECT/modules/*.sh
|
for module in $PROJECT/modules/*.sh
|
||||||
do
|
do
|
||||||
log DEBUG "sourcing $module"
|
log DEBUG "sourcing $module"
|
||||||
|
|||||||
Reference in New Issue
Block a user