Skip to content

Commit c09c7bd

Browse files
committed
README
1 parent cebd354 commit c09c7bd

File tree

2 files changed

+39
-4
lines changed

2 files changed

+39
-4
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ RUN apt-get clean\
6767

6868
# defaults
6969
EXPOSE 80 2003 2004 8080 8081
70-
VOLUME ["/etc/go-carbon", "/etc/carbonapi", "/var/lib/graphite", "/etc/nginx", "/etc/logrotate.d", "/var/log"]
70+
VOLUME ["/etc/go-carbon", "/etc/carbonapi", "/var/lib/graphite", "/etc/nginx", "/etc/grafana", "/etc/logrotate.d", "/var/log"]
7171
WORKDIR /
7272
ENV HOME /root
7373
CMD ["/sbin/my_init"]

README.md

Lines changed: 38 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,39 @@
1-
# docker-go-graphite
2-
Docker image for go-carbon + carbonapi + grafana (zipper included)
1+
# Docker image for go-carbon + carbonapi + grafana
32

4-
WIP, not ready yet
3+
## Quick Start
4+
5+
```sh
6+
docker run -d\
7+
--name go-graphite\
8+
--restart=always\
9+
-p 80:80\
10+
-p 2003-2004:2003-2004\
11+
gographite/go-graphite
12+
```
13+
14+
### Includes the following components
15+
16+
* [Nginx](http://nginx.org/) - reverse proxies Grafana dashboard
17+
* [Grafana](http://www.grafana.org/) - front-end dashboard
18+
* [Go-carbon](https://github.com/lomik/go-carbon) - Golang implementation of Graphite/Carbon server
19+
* [Carbonapi](https://github.com/go-graphite/carbonapi) - Golang implementation of Graphite-web
20+
21+
### Mapped Ports
22+
23+
Host | Container | Service
24+
---- | --------- | -------------------------------------------------------------------------------------------------------------------
25+
80 | 80 | [grafana](http://docs.grafana.org/)
26+
2003 | 2003 | [carbon receiver - plaintext](http://graphite.readthedocs.io/en/latest/feeding-carbon.html#the-plaintext-protocol)
27+
2004 | 2004 | [carbon receiver - pickle](http://graphite.readthedocs.io/en/latest/feeding-carbon.html#the-pickle-protocol)
28+
29+
### Mounted Volumes
30+
31+
Host | Container | Notes
32+
----------------- | -------------------------- | -------------------------------
33+
DOCKER ASSIGNED | /etc/go-carbon | go-carbon configs (see )
34+
DOCKER ASSIGNED | /var/lib/graphite | graphite file storage
35+
DOCKER ASSIGNED | /etc/nginx | nginx config
36+
DOCKER ASSIGNED | /etc/grafana | Grafana config
37+
DOCKER ASSIGNED | /etc/carbonapi | Carbonapi config
38+
DOCKER ASSIGNED | /etc/logrotate.d | logrotate config
39+
DOCKER ASSIGNED | /var/log | log files

0 commit comments

Comments
 (0)