mirror of
https://github.com/samply/bridgehead.git
synced 2026-05-14 09:10:25 +02:00
new refactor and encription key generation
This commit is contained in:
@@ -1,21 +1,14 @@
|
||||
services:
|
||||
omics-endpoint:
|
||||
image: ghcr.io/samply/itcc-omics-ingest:main
|
||||
image: samply/itcc-omics-ingest:main
|
||||
environment:
|
||||
API_KEY: ${GENERATE_API_KEY}
|
||||
BEAM_ID: "omics-endpoint.${PROXY_ID}"
|
||||
BEAM_SECRET: "${FOCUS_BEAM_SECRET_SHORT}"
|
||||
BEAM_URL: http://beam-proxy:8081
|
||||
ML_URL: http://mainzelliste:8080
|
||||
BLAZE_URL: http://bridgehead-itcc-blaze:8080/fhir/
|
||||
DWH_SOCKET_ID: "${DWH_SOCKET_ID}"
|
||||
DWH_TASK_ID: "${DWH_TASK_ID}"
|
||||
ENABLE_SOCKETS: false
|
||||
PARTNER_ID: "${SITE_ID}"
|
||||
BEAM_APP_ID_LONG: omics-endpoint.${PROXY_ID}
|
||||
BEAM_SECRET: ${FOCUS_BEAM_SECRET_SHORT}
|
||||
DWH_SOCKET_ID: ${DWH_SOCKET_ID}
|
||||
DWH_TASK_ID: ${DWH_TASK_ID}
|
||||
PARTNER_ID: ${SITE_ID}
|
||||
ML_API_KEY: ${GENERATE_API_KEY}
|
||||
|
||||
volumes:
|
||||
- /var/cache/bridgehead/omics/data:/data/uploads
|
||||
labels:
|
||||
- "traefik.http.routers.omics.rule=Host(`${HOST}`) &&
|
||||
PathPrefix(`/api/upload`)"
|
||||
@@ -25,38 +18,33 @@ services:
|
||||
- "traefik.http.middlewares.omics-stripprefix.stripprefix.prefixes=/api"
|
||||
- "traefik.http.routers.omics.middlewares=omics-stripprefix"
|
||||
|
||||
db:
|
||||
image: postgres:15
|
||||
container_name: db
|
||||
patientlist-db:
|
||||
image: postgres:${POSTGRES_TAG}
|
||||
container_name: bridgehead-patientlist-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
|
||||
- "patientlist-db-data:/var/lib/postgresql/data"
|
||||
healthcheck:
|
||||
test: [ "CMD-SHELL", "pg_isready -U ${ML_DB_USER} -d mainzelliste" ]
|
||||
test: ["CMD-SHELL", "pg_isready -U ${ML_DB_USER} -d mainzelliste"]
|
||||
interval: 5s
|
||||
timeout: 5s
|
||||
retries: 10
|
||||
start_period: 10s
|
||||
|
||||
mainzelliste:
|
||||
patientlist:
|
||||
image: medicalinformatics/mainzelliste:latest
|
||||
container_name: mainzelliste
|
||||
container_name: bridgehead-patientlist
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
db:
|
||||
condition: service_healthy
|
||||
ports:
|
||||
- 7887:8080
|
||||
|
||||
environment:
|
||||
ML_API_KEY: ${GENERATE_API_KEY}
|
||||
ML_DB_HOST: db
|
||||
ML_DB_HOST: patientlist-db
|
||||
ML_DB_PORT: "5432"
|
||||
ML_DB_NAME: mainzelliste
|
||||
ML_DB_USER: ${ML_DB_USER}
|
||||
@@ -72,7 +60,7 @@ services:
|
||||
target: /etc/resources/keys/symmetric_key.der
|
||||
|
||||
volumes:
|
||||
db_data:
|
||||
patientlist-db-data:
|
||||
secrets:
|
||||
mainzelliste.docker.conf:
|
||||
file: /etc/bridgehead/mainzelliste/mainzelliste.docker.conf
|
||||
|
||||
Reference in New Issue
Block a user