Skip to content

Commit

Permalink
Removed alertmanager profile if already monitoring
Browse files Browse the repository at this point in the history
  • Loading branch information
bwbroersma committed Jan 28, 2025
1 parent 0eb9bc6 commit affbb0a
Showing 1 changed file with 3 additions and 12 deletions.
15 changes: 3 additions & 12 deletions docker/compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -765,7 +765,6 @@ services:
ipv4_address: $IPV4_IP_GRAFANA_INTERNAL

profiles:
- alertmanager
- monitoring

# prometheus for monitoring
Expand Down Expand Up @@ -800,10 +799,9 @@ services:
- prometheus-data:/prometheus

profiles:
- alertmanager
- monitoring

# alertmanager for sending monitoring alerts
# alertmanager for sending monitoring alerts (also requires monitoring profile)
alertmanager:
image: ${DOCKER_IMAGE_PROMETHEUS_ALERTMANAGER}

Expand Down Expand Up @@ -848,7 +846,6 @@ services:
- internal

profiles:
- alertmanager
- monitoring

# provide redis metrics for monitoring
Expand All @@ -870,7 +867,6 @@ services:
- internal

profiles:
- alertmanager
- monitoring

# provide statsd metrics for monitoring
Expand All @@ -896,7 +892,6 @@ services:
- statsd

profiles:
- alertmanager
- monitoring

# provide celery metrics for monitoring
Expand All @@ -922,7 +917,6 @@ services:
condition: service_healthy

profiles:
- alertmanager
- monitoring


Expand Down Expand Up @@ -958,8 +952,7 @@ services:
- prometheus-textfile-directory:/prometheus-textfile-directory

profiles:
- alertmanager
- monitoring
- monitoring

# provide docker container metrics for monitoring
docker_stats_exporter:
Expand All @@ -982,8 +975,7 @@ services:
- /var/run/docker.sock:/var/run/docker.sock

profiles:
- alertmanager
- monitoring
- monitoring

# provide nginx metrics for monitoring
nginx_logs_exporter:
Expand All @@ -1008,7 +1000,6 @@ services:
- nginx-logs-exporter:/var/log/nginx/prometheus-nginxlog-exporter/

profiles:
- alertmanager
- monitoring

volumes:
Expand Down

0 comments on commit affbb0a

Please sign in to comment.