mirror of
https://github.com/vimagick/dockerfiles
synced 2024-06-28 09:41:20 +00:00
add glances
This commit is contained in:
parent
3ca8936563
commit
7b0b7c5d59
@ -131,6 +131,7 @@ A collection of delicious docker recipes.
|
|||||||
- [x] django-cms
|
- [x] django-cms
|
||||||
- [x] dokuwiki :+1:
|
- [x] dokuwiki :+1:
|
||||||
- [x] dokuwiki-arm :+1:
|
- [x] dokuwiki-arm :+1:
|
||||||
|
- [x] glances
|
||||||
- [x] gogs-arm :cn:
|
- [x] gogs-arm :cn:
|
||||||
- [x] grafana
|
- [x] grafana
|
||||||
- [x] hugo
|
- [x] hugo
|
||||||
|
29
glances/Dockerfile
Normal file
29
glances/Dockerfile
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
#
|
||||||
|
# Dockerfile for glances-arm
|
||||||
|
#
|
||||||
|
|
||||||
|
FROM debian:jessie
|
||||||
|
MAINTAINER kev <noreply@easypi.pro>
|
||||||
|
|
||||||
|
RUN set -xe \
|
||||||
|
&& apt-get update \
|
||||||
|
&& apt-get -y install build-essential \
|
||||||
|
curl \
|
||||||
|
lm-sensors \
|
||||||
|
python \
|
||||||
|
python-dev \
|
||||||
|
wireless-tools \
|
||||||
|
&& curl -sSL https://bootstrap.pypa.io/get-pip.py | python \
|
||||||
|
&& pip install "glances[action,batinfo,browser,cpuinfo,chart,docker,export,folders,gpu,ip,raid,snmp,web,wifi]" \
|
||||||
|
&& apt-get remove -y build-essential \
|
||||||
|
curl \
|
||||||
|
python-dev \
|
||||||
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
|
VOLUME /glances
|
||||||
|
WORKDIR /glances
|
||||||
|
|
||||||
|
EXPOSE 61208
|
||||||
|
EXPOSE 61209
|
||||||
|
|
||||||
|
CMD python -m glances -C /glances/conf/glances.conf $GLANCES_OPT
|
6
glances/README.md
Normal file
6
glances/README.md
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
glances
|
||||||
|
=======
|
||||||
|
|
||||||
|
[Glances][1] an Eye on your system. A top/htop alternative.
|
||||||
|
|
||||||
|
[1]: http://nicolargo.github.io/glances/
|
29
glances/arm/Dockerfile
Normal file
29
glances/arm/Dockerfile
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
#
|
||||||
|
# Dockerfile for glances-arm
|
||||||
|
#
|
||||||
|
|
||||||
|
FROM armhf/debian:jessie
|
||||||
|
MAINTAINER EasyPi Software Foundation
|
||||||
|
|
||||||
|
RUN set -xe \
|
||||||
|
&& apt-get update \
|
||||||
|
&& apt-get -y install build-essential \
|
||||||
|
curl \
|
||||||
|
lm-sensors \
|
||||||
|
python \
|
||||||
|
python-dev \
|
||||||
|
wireless-tools \
|
||||||
|
&& curl -sSL https://bootstrap.pypa.io/get-pip.py | python \
|
||||||
|
&& pip install "glances[action,batinfo,browser,cpuinfo,chart,docker,export,folders,gpu,ip,raid,snmp,web,wifi]" \
|
||||||
|
&& apt-get remove -y build-essential \
|
||||||
|
curl \
|
||||||
|
python-dev \
|
||||||
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
|
VOLUME /glances
|
||||||
|
WORKDIR /glances
|
||||||
|
|
||||||
|
EXPOSE 61208
|
||||||
|
EXPOSE 61209
|
||||||
|
|
||||||
|
CMD python -m glances -C /glances/conf/glances.conf $GLANCES_OPT
|
9
glances/arm/docker-compose.yml
Normal file
9
glances/arm/docker-compose.yml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
glances:
|
||||||
|
image: easypi/glances-arm
|
||||||
|
volumes:
|
||||||
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||||||
|
environment:
|
||||||
|
- GLANCES_OPT=-w
|
||||||
|
net: host
|
||||||
|
pid: host
|
||||||
|
restart: always
|
9
glances/docker-compose.yml
Normal file
9
glances/docker-compose.yml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
glances:
|
||||||
|
image: vimagick/glances
|
||||||
|
volumes:
|
||||||
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||||||
|
environment:
|
||||||
|
- GLANCES_OPT=-w
|
||||||
|
net: host
|
||||||
|
pid: host
|
||||||
|
restart: always
|
Loading…
Reference in New Issue
Block a user