Added Monitoring
This commit is contained in:
parent
23aa8f8274
commit
386c0ed09f
|
@ -94,6 +94,8 @@ services:
|
||||||
APP_0_KEY: ${SPOT_BEAM_SECRET_SHORT}
|
APP_0_KEY: ${SPOT_BEAM_SECRET_SHORT}
|
||||||
APP_1_ID: report-hub
|
APP_1_ID: report-hub
|
||||||
APP_1_KEY: ${REPORTHUB_BEAM_SECRET_SHORT}
|
APP_1_KEY: ${REPORTHUB_BEAM_SECRET_SHORT}
|
||||||
|
APP_2_ID: monitoring
|
||||||
|
APP_2_KEY: ${MONITORING_BEAM_SECRET_SHORT}
|
||||||
PRIVKEY_FILE: /run/secrets/proxy.pem
|
PRIVKEY_FILE: /run/secrets/proxy.pem
|
||||||
RUST_LOG: debug
|
RUST_LOG: debug
|
||||||
ALL_PROXY: http://forward_proxy:3128
|
ALL_PROXY: http://forward_proxy:3128
|
||||||
|
@ -104,6 +106,17 @@ services:
|
||||||
- "forward_proxy"
|
- "forward_proxy"
|
||||||
volumes:
|
volumes:
|
||||||
- /etc/bridgehead/trusted-ca-certs:/conf/trusted-ca-certs:ro
|
- /etc/bridgehead/trusted-ca-certs:/conf/trusted-ca-certs:ro
|
||||||
|
monitoring:
|
||||||
|
image: "samply/bridgehead-monitoring:ci"
|
||||||
|
container_name: bridgehead-monitoring
|
||||||
|
environment:
|
||||||
|
HOST: ${HOST}
|
||||||
|
SITE_NAME: ${SITE_NAME}
|
||||||
|
PROJECT: ${PROJECT}
|
||||||
|
BEAM_URL: http://beam-proxy:8081
|
||||||
|
PROXY_ID: monitoring.${PROXY_ID}
|
||||||
|
MONITORING_TARGET: ${MONITORING_TARGET}
|
||||||
|
KEY: ${MONITORING_BEAM_SECRET_SHORT}
|
||||||
|
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
|
|
1
ccp/vars
1
ccp/vars
|
@ -4,6 +4,7 @@ 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_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 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_SHORT="$(cat /proc/sys/kernel/random/uuid | sed 's/[-]//g' | head -c 20)"
|
||||||
|
MONITORING_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}"
|
REPORTHUB_BEAM_SECRET_LONG="ApiKey report-hub.${PROXY_ID} ${REPORTHUB_BEAM_SECRET_SHORT}"
|
||||||
SUPPORT_EMAIL=support-ccp@dkfz-heidelberg.de
|
SUPPORT_EMAIL=support-ccp@dkfz-heidelberg.de
|
||||||
PRIVATEKEYFILENAME=/etc/bridgehead/pki/${SITE_ID}.priv.pem
|
PRIVATEKEYFILENAME=/etc/bridgehead/pki/${SITE_ID}.priv.pem
|
||||||
|
|
Loading…
Reference in New Issue