mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-01-06 03:54:48 +02:00
update
This commit is contained in:
parent
82e152d2e6
commit
2b8ff01f81
@ -10,9 +10,12 @@ RUN apk add -U monit \
|
|||||||
&& mkdir -p /var/lib/monit/events
|
&& mkdir -p /var/lib/monit/events
|
||||||
|
|
||||||
COPY monit /etc/monit
|
COPY monit /etc/monit
|
||||||
RUN chmod 600 /etc/monit/monitrc
|
|
||||||
|
RUN chmod 600 /etc/monit/monitrc \
|
||||||
|
&& ln -sf /etc/monit/monitrc /etc/monitrc
|
||||||
|
|
||||||
VOLUME /etc/monit /var/lib/monit
|
VOLUME /etc/monit /var/lib/monit
|
||||||
|
|
||||||
EXPOSE 2812
|
EXPOSE 2812
|
||||||
|
|
||||||
CMD ["monit", "-I", "-c", "/etc/monit/monitrc"]
|
CMD ["monit", "-Ic", "/etc/monitrc"]
|
||||||
|
Loading…
Reference in New Issue
Block a user