Move watchtower to monitoring stack. Cleanup APC image.

This commit is contained in:
2022-02-23 06:32:52 +01:00
parent d9bb25d164
commit 4e32d554ef
3 changed files with 35 additions and 53 deletions

View File

@@ -5,16 +5,6 @@ RUN apk add --no-cache libusb apcupsd apcupsd-doc apcupsd-webif apache2
COPY apache2.conf /etc/apache2/httpd.conf
COPY apc-deamon.conf /etc/apcupsd/apcupsd.conf
# COPY dockerrun.sh /entrypoint/run.sh
# RUN [ "/sbin/apcupsd" ]
#RUN /usr/bin/fcgiwrap -f -s unix:/var/run/fcgiwrap.socket & sleep 1
#RUN [ "chown", "nginx:nginx", "/var/run/fcgiwrap.socket" ]
# RUN [ "nginx", "-g", "daemon off;" ]
# RUN chmod +x /entrypoint/run.sh
VOLUME [ "/etc/apcupsd" ]
EXPOSE 80 3551/tcp 3551/udp