Compare commits

...

3 Commits

Author SHA1 Message Date
160d389192
healthcheck fix
All checks were successful
Container Publish / build-image (push) Successful in 11s
Vulnerability Scan / Daily Vulnerability Scan (push) Successful in 14s
2025-05-06 09:30:00 +02:00
40ec940bad
allow webserver access from everywhere 2025-05-06 09:27:33 +02:00
b267419a8f
separate config for launch 2025-05-06 09:23:17 +02:00
4 changed files with 6 additions and 3 deletions

View File

@ -2,11 +2,11 @@ FROM alpine:latest
RUN \
apk --update upgrade && \
apk add tini pdns pdns-backend-sqlite3
apk add tini curl pdns pdns-backend-sqlite3
COPY rootfs /
HEALTHCHECK --interval=30s --start-period=5s --timeout=10s \
CMD /usr/bin/host -T -p 1053 asperti.com 127.0.0.1
CMD curl http://127.0.0.1:8081/metrics
ENTRYPOINT ["/sbin/tini", "--", "/bin/sh", "/app/entrypoint.sh"]

View File

@ -17,7 +17,6 @@ EOF
# database setup
cat >> /etc/pdns/pdns.conf.d/sqlite.conf << EOF
launch=gsqlite3
gsqlite3-database=${DB_PATH}
EOF
DB_DIR=$(dirname "${DB_PATH}")

View File

@ -0,0 +1 @@
launch=gsqlite3

View File

@ -0,0 +1,3 @@
webserver=yes
webserver-address=0.0.0.0
webserver-allow-from=0.0.0.0/0,::/0