selfhosted ntfy support + authentication + refactor if config variables are missing

This commit is contained in:
Jokob-sk
2022-11-19 16:50:11 +11:00
parent 6f7291940e
commit e880e95c3d
2 changed files with 174 additions and 31 deletions

2
Dockerfile Normal file → Executable file
View File

@@ -8,7 +8,7 @@ ENV USER=pi USER_ID=1000 USER_GID=1000 TZ=Europe/London PORT=20211
RUN apt-get update \
&& apt-get install --no-install-recommends ca-certificates curl libwww-perl arp-scan perl apt-utils cron sudo nginx-light php php-cgi php-fpm php-sqlite3 php-curl sqlite3 dnsutils net-tools python3 iproute2 nmap python3-pip zip -y \
&& pip3 install requests \
&& pip3 install requests paho-mqtt \
&& update-alternatives --install /usr/bin/python python /usr/bin/python3 10 \
&& apt-get clean autoclean \
&& apt-get autoremove \