Monitoring Stack: add graphite service
This commit is contained in:
parent
d6a93f057a
commit
a58e0c525d
1 changed files with 23 additions and 0 deletions
|
@ -7,3 +7,26 @@ networks:
|
||||||
monitoring:
|
monitoring:
|
||||||
|
|
||||||
services:
|
services:
|
||||||
|
##############################################
|
||||||
|
# Graphite
|
||||||
|
# URL: https://graphite.readthedocs.io/en/stable/
|
||||||
|
# Docker Hub: https://hub.docker.com/r/graphiteapp/graphite-statsd
|
||||||
|
##############################################
|
||||||
|
graphite:
|
||||||
|
image: graphiteapp/graphite-statsd:latest
|
||||||
|
environment:
|
||||||
|
- GRAPHITE_TIME_ZONE=${TZ:-UTC}
|
||||||
|
volumes:
|
||||||
|
- ${BASE_DIR:-.}/Graphite/Data:/opt/graphite/storage
|
||||||
|
- ${BASE_DIR:-.}/Graphite/Config:/opt/graphite/conf
|
||||||
|
- ${BASE_DIR:-.}/Graphite/Statsd_Config:/opt/statsd/config
|
||||||
|
- ${BASE_DIR:-.}/Graphite/Logs:/var/log
|
||||||
|
networks:
|
||||||
|
- monitoring
|
||||||
|
ports:
|
||||||
|
- 3080:80
|
||||||
|
- 2003-2004:2003-2004
|
||||||
|
- 2023-2024:2023-2024
|
||||||
|
- 8225:8125/udp
|
||||||
|
- 8226:8126
|
||||||
|
restart: unless-stopped
|
||||||
|
|
Loading…
Add table
Reference in a new issue