mirror of https://github.com/samply/bridgehead.git
Added component monitoring for bbmri
This commit is contained in:
parent
48d9a034c7
commit
6fa587fe4f
|
@ -21,6 +21,15 @@ services:
|
||||||
- "traefik.http.routers.blaze_ccp.middlewares=ccp_b_strip,auth"
|
- "traefik.http.routers.blaze_ccp.middlewares=ccp_b_strip,auth"
|
||||||
- "traefik.http.routers.blaze_ccp.tls=true"
|
- "traefik.http.routers.blaze_ccp.tls=true"
|
||||||
|
|
||||||
|
bridgehead-monitoring:
|
||||||
|
image: samply/bridgehead-monitoring:latest
|
||||||
|
environment:
|
||||||
|
- BEAM_ID=monitoring.${PROXY_ID}
|
||||||
|
- BEAM_API_KEY=${MONITORING_BEAM_SECRET_SHORT}
|
||||||
|
- BEAM_PROXY_URL=http://beam-proxy:8081
|
||||||
|
depends_on:
|
||||||
|
- beam-proxy
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
blaze-data:
|
blaze-data:
|
||||||
|
|
||||||
|
|
|
@ -6,6 +6,7 @@
|
||||||
|
|
||||||
FOCUS_RETRY_COUNT=32
|
FOCUS_RETRY_COUNT=32
|
||||||
PRIVATEKEYFILENAME=/etc/bridgehead/pki/${SITE_ID}.priv.pem
|
PRIVATEKEYFILENAME=/etc/bridgehead/pki/${SITE_ID}.priv.pem
|
||||||
|
MONITORING_BEAM_SECRET_SHORT="$(cat /proc/sys/kernel/random/uuid | sed 's/[-]//g' | head -c 20)"
|
||||||
|
|
||||||
for module in $PROJECT/modules/*.sh
|
for module in $PROJECT/modules/*.sh
|
||||||
do
|
do
|
||||||
|
|
Loading…
Reference in New Issue