1
0
Fork 0
This commit is contained in:
Eros Nardi 2021-01-13 11:34:43 +01:00
parent be75b0a931
commit ec86332290
1 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,6 @@
FROM debian:buster-slim FROM debian:buster-slim
ENV TZ Etc/UTC
ENV NAME ups ENV NAME ups
ENV DRIVER usbhid-ups ENV DRIVER usbhid-ups
ENV PORT auto ENV PORT auto
@ -9,8 +10,7 @@ ENV USERSSTRING #
#Installing default packages #Installing default packages
RUN apt-get update RUN apt-get update
RUN apt-get install -y \ RUN apt-get install -y nut-server
nut-server
#Apply configuration #Apply configuration
RUN sed -i 's/MODE=none/MODE=netserver/g' /etc/nut/nut.conf \ RUN sed -i 's/MODE=none/MODE=netserver/g' /etc/nut/nut.conf \