summaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
authorSoulou <leo@unbekandt.eu>2015-04-30 22:21:27 +0200
committerSoulou <leo@unbekandt.eu>2015-04-30 22:21:27 +0200
commita48332b52967631352e0dec8a66402953cb68c10 (patch)
treef49f0f0a34b6a4de8a27cd1fa4aefffd659c64a6 /Dockerfile
parente3504cee99dab2331df59f6463e5be5ac222dedd (diff)
downloadmunin-a48332b52967631352e0dec8a66402953cb68c10.tar.gz
munin-a48332b52967631352e0dec8a66402953cb68c10.tar.bz2
munin-a48332b52967631352e0dec8a66402953cb68c10.tar.xz
munin-a48332b52967631352e0dec8a66402953cb68c10.zip
Version v5, graceful stop, email alert and better doc
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Dockerfile b/Dockerfile
index ff21e0b..b07e0b3 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -5,7 +5,7 @@ MAINTAINER Leo Unbekandt <leo.unbekandt@appsdeck.eu>
RUN adduser --system --home /var/lib/munin --shell /bin/false --uid 1103 --group munin
RUN apt-get update -qq && RUNLEVEL=1 DEBIAN_FRONTEND=noninteractive \
- apt-get install -y -qq cron munin munin-node nginx apache2-utils wget
+ apt-get install -y -qq cron munin munin-node nginx apache2-utils wget heirloom-mailx
RUN rm /etc/nginx/sites-enabled/default && mkdir -p /var/cache/munin/www && chown munin:munin /var/cache/munin/www && mkdir -p /var/run/munin && chown -R munin:munin /var/run/munin
VOLUME /var/lib/munin
@@ -14,6 +14,7 @@ VOLUME /var/log/munin
ADD ./munin.conf /etc/munin/munin.conf
ADD ./nginx-munin /etc/nginx/sites-enabled/munin
ADD ./start-munin.sh /munin
-EXPOSE 80
+
+EXPOSE 8080
CMD bash /munin