Created
January 9, 2021 17:44
-
-
Save mafonso/a7cc94df145c32cb3aa2e67e58fd5937 to your computer and use it in GitHub Desktop.
Metrics Dashboard Stack
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
version: "2" | |
services: | |
grafana: | |
image: grafana/grafana | |
container_name: grafana | |
restart: always | |
ports: | |
- 3000:3000 | |
links: | |
- influxdb | |
networks: | |
- monitoring | |
volumes: | |
- grafana-volume:/var/lib/grafana | |
environment: | |
GF_INSTALL_PLUGINS: grafana-worldmap-panel,alexandra-trackmap-panel | |
chronograf: | |
image: chronograf | |
container_name: chronograf | |
volumes: | |
- chronograf_volume:/var/lib/chronograf | |
ports: | |
- 8087:8888 | |
links: | |
- influxdb | |
networks: | |
- monitoring | |
restart: always | |
influxdb: | |
image: influxdb | |
container_name: influxdb | |
restart: always | |
ports: | |
- 8086:8086 | |
networks: | |
- monitoring | |
volumes: | |
- influxdb-volume:/var/lib/influxdb | |
environment: | |
- INFLUXDB_DB=telegraf | |
- INFLUXDB_USER=telegraf | |
telegraf: | |
image: telegraf | |
container_name: telegraf | |
restart: always | |
networks: | |
- monitoring | |
links: | |
- influxdb | |
environment: | |
HOST_PROC: /rootfs/proc | |
HOST_SYS: /rootfs/sys | |
HOST_ETC: /rootfs/etc | |
volumes: | |
- /share/Docker/Volumes/telegraf/telegraf.conf:/etc/telegraf/telegraf.conf:ro | |
networks: | |
monitoring: | |
volumes: | |
grafana-volume: | |
external: false | |
influxdb-volume: | |
external: false | |
chronograf_volume: | |
external: false |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment