Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion services/monitoring/prometheus/prometheus-simcore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ scrape_configs:
- names:
- "tasks.production_rabbit"
- "tasks.staging_rabbit"
- "tasks.master_rabbit"
type: "A"
port: 15692
- names:
Expand Down
7 changes: 7 additions & 0 deletions services/rabbit/docker-compose.node0x.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ services:
memory: "1G"
update_config:
order: "stop-first"
labels:
- prometheus-job=rabbit
- prometheus-port=15692
environment:
# https://www.rabbitmq.com/docs/configure#supported-environment-variables
RABBITMQ_DEFAULT_USER: ${RABBIT_USER}
Expand All @@ -44,6 +47,7 @@ services:
- rabbit0{{ NODE_INDEX }}_data:/var/lib/rabbitmq
networks:
- rabbit
- monitored
healthcheck:
# see https://hub.docker.com/_/rabbitmq#healthlivenessreadiness-checking
# https://www.rabbitmq.com/docs/clustering#restarting-readiness-probes
Expand All @@ -65,6 +69,9 @@ networks:
rabbit:
name: ${RABBIT_NETWORK}
external: true
monitored:
name: ${MONITORED_NETWORK}
external: true

configs:
rabbitmq.conf:
Expand Down
1 change: 1 addition & 0 deletions services/rabbit/template.env
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@ RABBIT_LB_REPLICAS=${RABBIT_LB_REPLICAS}
RABBIT_NETWORK=${RABBIT_NETWORK}

PUBLIC_NETWORK=${PUBLIC_NETWORK}
MONITORED_NETWORK=${MONITORED_NETWORK}
MONITORING_DOMAIN=${MONITORING_DOMAIN}
Loading