1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-01-08 04:04:18 +02:00
dockerfiles/monit/Dockerfile

19 lines
323 B
Docker
Raw Normal View History

2015-07-02 12:59:58 +02:00
#
# Dockerfile for monit
#
FROM alpine
MAINTAINER kev <noreply@datageek.info>
RUN apk add -U monit \
&& rm -rf /var/cache/apk/*
2015-07-02 15:18:27 +02:00
&& mkdir -p /var/lib/monit/events
2015-07-02 12:59:58 +02:00
COPY monit /etc/monit
2015-07-02 13:24:22 +02:00
RUN chmod 600 /etc/monit/monitrc
2015-07-02 12:59:58 +02:00
VOLUME /etc/monit /var/lib/monit
EXPOSE 2812
CMD ["monit", "-I", "-c", "/etc/monit/monitrc"]