https://github.com/nerdalert/graphite-grafana
https://github.com/nerdalert/graphite-grafana
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/nerdalert/graphite-grafana
- Owner: nerdalert
- License: mit
- Created: 2022-03-16T05:28:28.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-05-01T04:42:08.000Z (about 4 years ago)
- Last Synced: 2025-06-23T14:47:46.781Z (12 months ago)
- Language: Dockerfile
- Size: 23.4 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Container image for go-carbon, carbonapi and grafana
[](https://github.com/nerdalert/graphite-grafana/actions/workflows/image-build.yml)
- Based off go-graphite but maintained and running the latest component versions.
- See [Cloud Bandwidth](https://github.com/nerdalert/cloud-bandwidth) for an example usage.
## Quick Start
- Using Docker or Podman, run the following. Once up and running point your browser to the container address to view the grafana UI.
```sh
docker run -d \
--name graphite-grafana \
--restart=always \
-p 80:80 \
-p 2003-2004:2003-2004 \
quay.io/networkstatic/graphite-grafana
# or Podman
sudo sysctl net.ipv4.ip_unprivileged_port_start=80
podman run -d \
--name graphite-grafana \
--restart=always \
-p 80:80 \
-p 2003-2004:2003-2004 \
quay.io/networkstatic/graphite-grafana
```
### Includes the following components
* [Nginx](http://nginx.org/) - reverse proxies Grafana dashboard
* [Grafana](http://www.grafana.com/) - front-end dashboard
* [Go-carbon](https://github.com/lomik/go-carbon) - Golang implementation of Graphite/Carbon server
* [Carbonapi](https://github.com/go-graphite/carbonapi) - Golang implementation of Graphite-web
### Mapped Ports
Host | Container | Service
---- | --------- | -------------------------------------------------------------------------------------------------------------------
80 | 80 | [grafana](http://docs.grafana.org/)
2003 | 2003 | [carbon receiver - plaintext](http://graphite.readthedocs.io/en/latest/feeding-carbon.html#the-plaintext-protocol)
2004 | 2004 | [carbon receiver - pickle](http://graphite.readthedocs.io/en/latest/feeding-carbon.html#the-pickle-protocol)
### Exposed Ports
Container | Service
--------- | -------------------------------------------------------------------------------------------------------------------------
8081 | [carbonapi](https://github.com/go-graphite/carbonapi/blob/master/doc/configuration.md#general-configuration-for-carbonapi)
### Mounted Volumes
Host | Container | Notes
----------------- | -------------------------- | -------------------------------
DOCKER ASSIGNED | /etc/go-carbon | go-carbon configs (see )
DOCKER ASSIGNED | /var/lib/graphite | graphite file storage
DOCKER ASSIGNED | /etc/nginx | nginx config
DOCKER ASSIGNED | /etc/grafana | Grafana config
DOCKER ASSIGNED | /etc/carbonapi | Carbonapi config
DOCKER ASSIGNED | /etc/logrotate.d | logrotate config
DOCKER ASSIGNED | /var/log | log files