This repository was archived by the owner on Dec 5, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +58
-0
lines changed Expand file tree Collapse file tree 2 files changed +58
-0
lines changed Original file line number Diff line number Diff line change 4545 < li > < span > Monitoring</ span >
4646 < ul >
4747 < li > < a href ="/microservices-demo/deployment/monitoring-kubernetes.html "> Kubernetes</ a > </ li >
48+ < li > < a href ="/microservices-demo/deployment/monitoring-docker-compose.html "> Docker Compose</ a > </ li >
4849 </ ul >
4950 </ li >
5051</ ul >
Original file line number Diff line number Diff line change 1+ ---
2+ layout : default
3+ deployDoc : true
4+ ---
5+
6+ ## Docker Compose
7+
8+ > NOTE: All the commands listed on this guide must be ran from the root of the project.
9+
10+
11+ To deploy Prometheus & Grafana and to setup all the nice graphs that we got ready
12+ for you, simply:
13+
14+ ```
15+ $ docker-compose -f ./deploy/docker-compose/docker-compose.monitoring.yml up -d
16+ ```
17+
18+ Wait for the deployment to be ready. Check the status with
19+
20+ ```
21+ $ docker-compose -f ./deploy/docker-compose/docker-compose.monitoring.yml ps
22+ ```
23+
24+ ### Importing The Dashboards
25+
26+ You only need to do this once:
27+
28+ ```
29+ $ docker-compose \
30+ -f ./deploy/docker-compose/docker-compose.monitoring.yml \
31+ run \
32+ --entrypoint /opt/grafana-import-dashboards/import.sh \
33+ --rm \
34+ importer
35+ ```
36+
37+ ### Accessing The Services
38+ Once the services are up & running you can access them with the following URLs:
39+
40+ * Prometheus: < http://localhost:9090 >
41+ * Grafana: < http://localhost:3000 >
42+
43+ ### Grafana Credentials
44+ <table class =" user-creds " >
45+ <thead >
46+ <tr>
47+ <td>Username</td>
48+ <td>Password</td>
49+ </tr>
50+ </thead >
51+ <tbody >
52+ <tr>
53+ <td>admin</td>
54+ <td>foobar</td>
55+ </tr>
56+ </tbody >
57+ </table >
You can’t perform that action at this time.
0 commit comments