hotfix snap

This commit is contained in:
p.delpy@dkfz-heidelberg.de 2023-03-24 10:54:18 +01:00
parent ac160ab981
commit 3a47cc0796
2 changed files with 5 additions and 2 deletions

View File

@ -45,7 +45,7 @@ services:
container_name: bridgehead-spot
environment:
SECRET: ${SPOT_BEAM_SECRET_LONG}
APPID: spot
APPID: snap
PROXY_ID: ${PROXY_ID}
LDM_URL: ${LDM_URL}
AUTH_USER: ${AUTH_USER}
@ -68,6 +68,7 @@ services:
ROOTCERT_FILE: /conf/root.crt.pem
secrets:
- proxy.pem
- root.crt.pem
depends_on:
- "forward_proxy"
volumes:
@ -81,3 +82,5 @@ volumes:
secrets:
proxy.pem:
file: /etc/bridgehead/pki/${SITE_ID}.priv.pem
root.crt.pem:
file: /srv/docker/bridgehead/snap/root.crt.pem

View File

@ -2,7 +2,7 @@ BROKER_ID=broker.dev.ccp-it.dktk.dkfz.de
BROKER_URL=https://${BROKER_ID}
PROXY_ID=${SITE_ID}.${BROKER_ID}
SPOT_BEAM_SECRET_SHORT="$(cat /proc/sys/kernel/random/uuid | sed 's/[-]//g' | head -c 20)"
SPOT_BEAM_SECRET_LONG="ApiKey spot.${PROXY_ID} ${SPOT_BEAM_SECRET_SHORT}"
SPOT_BEAM_SECRET_LONG="ApiKey snap.${PROXY_ID} ${SPOT_BEAM_SECRET_SHORT}"
REPORTHUB_BEAM_SECRET_SHORT="$(cat /proc/sys/kernel/random/uuid | sed 's/[-]//g' | head -c 20)"
REPORTHUB_BEAM_SECRET_LONG="ApiKey report-hub.${PROXY_ID} ${REPORTHUB_BEAM_SECRET_SHORT}"
SUPPORT_EMAIL=support-ccp@dkfz-heidelberg.de