##// END OF EJS Templates
metrics: expose localhost for scraping some local resources by prom
super-admin -
Show More
@@ -70,6 +70,8 b' services:'
70 # - "9090:9090"
70 # - "9090:9090"
71 networks:
71 networks:
72 - rhodecode_network
72 - rhodecode_network
73 extra_hosts:
74 - "host.docker.internal:host-gateway"
73 volumes:
75 volumes:
74 - ./config/prometheus:/etc/prometheus
76 - ./config/prometheus:/etc/prometheus
75 - prometheus_data:/prometheus
77 - prometheus_data:/prometheus
@@ -87,6 +89,8 b' services:'
87 - ./config/grafana:/etc/grafana
89 - ./config/grafana:/etc/grafana
88 networks:
90 networks:
89 - rhodecode_network
91 - rhodecode_network
92 extra_hosts:
93 - "host.docker.internal:host-gateway"
90 labels:
94 labels:
91 - "traefik.enable=true"
95 - "traefik.enable=true"
92 - "traefik.http.routers.grafana.entrypoints=http"
96 - "traefik.http.routers.grafana.entrypoints=http"
@@ -111,6 +115,8 b' services:'
111 ]
115 ]
112 networks:
116 networks:
113 - rhodecode_network
117 - rhodecode_network
118 extra_hosts:
119 - "host.docker.internal:host-gateway"
114 volumes:
120 volumes:
115 - ./config/loki:/etc/loki
121 - ./config/loki:/etc/loki
116 # optionally mount host container to scrape docker logs...
122 # optionally mount host container to scrape docker logs...
General Comments 0
You need to be logged in to leave comments. Login now