mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-01-04 03:48:55 +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
|
||||
|
||||
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
|
||||
|
||||
EXPOSE 2812
|
||||
|
||||
CMD ["monit", "-I", "-c", "/etc/monit/monitrc"]
|
||||
CMD ["monit", "-Ic", "/etc/monitrc"]
|
||||
|
Loading…
Reference in New Issue
Block a user