Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
docker
Docker Compose Prometheus and Grafana
Commits
9aceb69e
Commit
9aceb69e
authored
Sep 12, 2020
by
Jay Ta'ala
Browse files
Migrated to ovh-server. Using standard ports (for the most part).
parent
2d3721ac
Changes
2
Hide whitespace changes
Inline
Side-by-side
docker-compose.yml
View file @
9aceb69e
...
@@ -4,7 +4,7 @@ services:
...
@@ -4,7 +4,7 @@ services:
image
:
prom/prometheus
image
:
prom/prometheus
restart
:
always
restart
:
always
ports
:
ports
:
-
100
90:9090
-
90
89
:9090
environment
:
environment
:
-
config.file=/etc/prometheus/prometheus.yml
-
config.file=/etc/prometheus/prometheus.yml
-
storage.tsdb.path=/prometheus
-
storage.tsdb.path=/prometheus
...
@@ -26,9 +26,6 @@ services:
...
@@ -26,9 +26,6 @@ services:
restart
:
always
restart
:
always
environment
:
environment
:
-
config.file="/config.yml"
-
config.file="/config.yml"
networks
:
-
default
-
crowd-net
volumes
:
volumes
:
-
./blackbox-exporter.yml:/config.yml
-
./blackbox-exporter.yml:/config.yml
...
@@ -36,7 +33,7 @@ services:
...
@@ -36,7 +33,7 @@ services:
image
:
grafana/grafana
image
:
grafana/grafana
restart
:
always
restart
:
always
ports
:
ports
:
-
4
000:3000
-
3
000:3000
volumes
:
volumes
:
-
./grafana.ini:/etc/grafana/grafana.ini
-
./grafana.ini:/etc/grafana/grafana.ini
-
graf-data:/var/lib/grafana
-
graf-data:/var/lib/grafana
...
@@ -44,7 +41,3 @@ services:
...
@@ -44,7 +41,3 @@ services:
volumes
:
volumes
:
prom-data
:
prom-data
:
graf-data
:
graf-data
:
networks
:
crowd-net
:
external
:
true
prometheus.yml
View file @
9aceb69e
...
@@ -31,7 +31,7 @@ scrape_configs:
...
@@ -31,7 +31,7 @@ scrape_configs:
-
job_name
:
'
node_exporter'
-
job_name
:
'
node_exporter'
scrape_interval
:
5s
scrape_interval
:
5s
static_configs
:
static_configs
:
-
targets
:
[
'
1
0.0.0.137:10
09
1
'
,
'
10.8.0.
2:9
09
0
'
]
-
targets
:
[
'
1
72.17.0.1:9
09
0
'
,
'
10.8.0.
1:10
09
1
'
]
-
job_name
:
'
blackbox'
-
job_name
:
'
blackbox'
scrape_interval
:
30s
scrape_interval
:
30s
...
@@ -43,7 +43,7 @@ scrape_configs:
...
@@ -43,7 +43,7 @@ scrape_configs:
-
https://bitwarden.jaytaala.com
-
https://bitwarden.jaytaala.com
-
https://confluence.jaytaala.com
-
https://confluence.jaytaala.com
-
https://chat.jaytaala.com
-
https://chat.jaytaala.com
-
http://crowd
:8095/crowd
-
http
s
://crowd
.jaytaala.com
-
https://gitlab.jaytaala.com
-
https://gitlab.jaytaala.com
-
https://url.jaytaala.com
-
https://url.jaytaala.com
-
https://opstoolkit.unswcanberraspace.com
-
https://opstoolkit.unswcanberraspace.com
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment