Add VOLUMEs
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
nemunaire 2022-02-06 01:47:36 +01:00
parent 2c76c9f90c
commit 897414d4dd

View File

@ -34,4 +34,5 @@ ADD https://gist.githubusercontent.com/nemunaire/9669659/raw/977cfce7246249c17e2
ENTRYPOINT ["/docker-entrypoint.sh"] ENTRYPOINT ["/docker-entrypoint.sh"]
USER nagios USER nagios
VOLUME ["/etc/nagios", "/var/nagios"]
CMD ["/usr/sbin/nagios", "/etc/nagios/nagios.cfg"] CMD ["/usr/sbin/nagios", "/etc/nagios/nagios.cfg"]