diff --git a/docker-compose.yml b/docker-compose.yml index 79ba4b8b..94250329 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -47,6 +47,7 @@ services: container_name: postgres_exporter image: quay.io/prometheuscommunity/postgres-exporter:v0.17.0 restart: always + profiles: ["monitoring"] env_file: - .env environment: @@ -76,6 +77,7 @@ services: container_name: redis_exporter image: oliver006/redis_exporter:v1.73.0 restart: always + profiles: ["monitoring"] env_file: - .env environment: @@ -111,6 +113,7 @@ services: container_name: elasticsearch_exporter image: quay.io/prometheuscommunity/elasticsearch-exporter:v1.9.0 restart: always + profiles: ["monitoring"] env_file: - .env command: @@ -194,6 +197,8 @@ services: depends_on: database: condition: service_healthy + redis: + condition: service_healthy logging: *default-logging prometheus: