add netdata

This commit is contained in:
kev 2016-06-21 09:23:08 +08:00
parent 8af2695ecd
commit f481ed97c3
5 changed files with 55 additions and 1 deletions

View File

@ -73,6 +73,7 @@ A collection of delicious docker recipes.
- [x] mosquitto
- [x] motion-arm :+1:
- [x] mysql-proxy
- [x] netdata
- [x] nginad
- [x] nginx
- [x] ngrok :+1:

View File

@ -27,6 +27,8 @@ web:
restsart: always
```
> :warning: The local mirror doesn't work!
## dnsmasq.conf
```
@ -92,4 +94,5 @@ docker-compose up -d
docker-compose logs -f
```
> You should stop DHCP service on local network.
> You should stop DHCP service on local network before starting PXE.
> Also take a look at `preseed.cfg` for unattended installation.

38
netdata/Dockerfile Normal file
View File

@ -0,0 +1,38 @@
#
# Dockerfile for netdata
#
FROM alpine
MAINTAINER kev <noreply@easypi.info>
ENV NETDATA_VERSION 1.2.0
RUN set -xe \
&& apk add --no-cache autoconf \
automake \
bash \
build-base \
curl \
libmnl \
libmnl-dev \
libuuid \
util-linux-dev \
zlib-dev \
&& addgroup -g 1000 netdata \
&& adduser -D -H -u 1000 -G netdata netdata \
&& curl -sSL https://github.com/firehol/netdata/releases/download/v$NETDATA_VERSION/netdata-$NETDATA_VERSION.tar.gz | tar xz \
&& cd netdata-$NETDATA_VERSION \
&& ./netdata-installer.sh --dont-wait \
&& cd .. \
&& rm -rf netdata-$NETDATA_VERSION \
&& apk del autoconf \
automake \
build-base \
curl \
libmnl-dev \
util-linux-dev \
zlib-dev
EXPOSE 19999
CMD ["netdata", "-nd"]

7
netdata/README.md Normal file
View File

@ -0,0 +1,7 @@
netdata
=======
[netdata][1] is a highly optimized Linux daemon providing real-time performance
monitoring for Linux systems, Applications, SNMP devices, over the web!
[1]: https://github.com/firehol/netdata

View File

@ -0,0 +1,5 @@
netdata:
image: vimagick/netdata
net: host
pid: host
restart: always