-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add docker-compose grafana/prometheus/exporter sample stack
- Loading branch information
Showing
13 changed files
with
3,381 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,3 +16,6 @@ Cargo.lock | |
# IDE cache folders | ||
.vscode/ | ||
.idea/ | ||
|
||
# Env vars file | ||
.env |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export LIVEBOX_PASSWORD=password |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
services: | ||
livebox-exporter-rs: | ||
image: tchapacan/livebox-exporter-rs | ||
container_name: livebox-exporter-rs | ||
command: | ||
- "-P" | ||
- ${LIVEBOX_PASSWORD:-password} | ||
ports: | ||
- 9100:9100 | ||
restart: unless-stopped | ||
networks: | ||
- monitoring_network | ||
environment: | ||
- LIVEBOX_PASSWORD | ||
|
||
prometheus: | ||
image: prom/prometheus | ||
container_name: prometheus | ||
command: | ||
- '--config.file=/etc/prometheus/prometheus.yml' | ||
ports: | ||
- 9090:9090 | ||
restart: unless-stopped | ||
volumes: | ||
- ./prometheus:/etc/prometheus | ||
- prom_data:/prometheus | ||
networks: | ||
- monitoring_network | ||
|
||
grafana: | ||
image: grafana/grafana | ||
container_name: grafana | ||
ports: | ||
- 3000:3000 | ||
restart: unless-stopped | ||
environment: | ||
- GF_SECURITY_ADMIN_USER=admin | ||
- GF_SECURITY_ADMIN_PASSWORD=grafana | ||
volumes: | ||
- ./grafana:/etc/grafana/provisioning/datasources | ||
networks: | ||
- monitoring_network | ||
|
||
volumes: | ||
prom_data: | ||
|
||
networks: | ||
monitoring_network: | ||
driver: bridge |
Oops, something went wrong.