parent
cebd35493b
commit
c09c7bd8ab
|
@ -67,7 +67,7 @@ RUN apt-get clean\
|
|||
|
||||
# defaults
|
||||
EXPOSE 80 2003 2004 8080 8081
|
||||
VOLUME ["/etc/go-carbon", "/etc/carbonapi", "/var/lib/graphite", "/etc/nginx", "/etc/logrotate.d", "/var/log"]
|
||||
VOLUME ["/etc/go-carbon", "/etc/carbonapi", "/var/lib/graphite", "/etc/nginx", "/etc/grafana", "/etc/logrotate.d", "/var/log"]
|
||||
WORKDIR /
|
||||
ENV HOME /root
|
||||
CMD ["/sbin/my_init"]
|
||||
|
|
41
README.md
41
README.md
|
@ -1,4 +1,39 @@
|
|||
# docker-go-graphite
|
||||
Docker image for go-carbon + carbonapi + grafana (zipper included)
|
||||
# Docker image for go-carbon + carbonapi + grafana
|
||||
|
||||
WIP, not ready yet
|
||||
## Quick Start
|
||||
|
||||
```sh
|
||||
docker run -d\
|
||||
--name go-graphite\
|
||||
--restart=always\
|
||||
-p 80:80\
|
||||
-p 2003-2004:2003-2004\
|
||||
gographite/go-graphite
|
||||
```
|
||||
|
||||
### Includes the following components
|
||||
|
||||
* [Nginx](http://nginx.org/) - reverse proxies Grafana dashboard
|
||||
* [Grafana](http://www.grafana.org/) - 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)
|
||||
|
||||
### 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
|
||||
|
|
Loading…
Reference in New Issue