Fixed docker-compose vars

This commit is contained in:
Patrick Skowronek 2023-02-24 07:54:36 +01:00
parent 052f6f1239
commit 2e7a349aac
2 changed files with 11 additions and 2 deletions

View File

@ -48,8 +48,8 @@ services:
APPID: spot APPID: spot
PROXY_ID: ${PROXY_ID} PROXY_ID: ${PROXY_ID}
LDM_URL: ${LDM_URL} LDM_URL: ${LDM_URL}
AUTH_USER: ${} AUTH_USER: ${AUTH_USER}
AUTH_PW: ${} AUTH_PW: ${AUTH_PW}
BEAM_PROXY: http://beam-proxy:8081 BEAM_PROXY: http://beam-proxy:8081
depends_on: depends_on:
- "beam-proxy" - "beam-proxy"

View File

@ -0,0 +1,9 @@
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}"
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
PRIVATEKEYFILENAME=/etc/bridgehead/pki/${SITE_ID}.priv.pem