We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent af35e82 commit 021ca67Copy full SHA for 021ca67
1 file changed
spring-prometheus-grafana-example/compose.yaml
@@ -10,9 +10,6 @@ services:
10
SPRING_PROFILES_ACTIVE: prd
11
ports:
12
- "80:80"
13
- depends_on:
14
- - prometheus
15
- - grafana
16
17
prometheus:
18
container_name: prometheus
@@ -23,6 +20,8 @@ services:
23
20
- ./docker/prometheus.yml:/etc/prometheus/prometheus.yml
24
21
command:
25
22
- '--config.file=/etc/prometheus/prometheus.yml'
+ depends_on:
+ - app
26
27
grafana:
28
container_name: grafana
0 commit comments