mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-01-02 03:37:40 +02:00
add netdata
This commit is contained in:
parent
8af2695ecd
commit
f481ed97c3
@ -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:
|
||||
|
@ -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
38
netdata/Dockerfile
Normal 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
7
netdata/README.md
Normal 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
|
5
netdata/docker-compose.yml
Normal file
5
netdata/docker-compose.yml
Normal file
@ -0,0 +1,5 @@
|
||||
netdata:
|
||||
image: vimagick/netdata
|
||||
net: host
|
||||
pid: host
|
||||
restart: always
|
Loading…
Reference in New Issue
Block a user