[pdnsadmin] Replace the obsolete container with the maintained pdns-admin version

This commit is contained in:
Bernhard "bero" Rosenkränzer (Boggins) 2025-01-25 22:39:50 +01:00
parent 7d43ce33e0
commit 2c6c4aa504
2 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,6 @@
pdnsmysql=10.7.8
pdns=4.9
pdnsadmin=@sha256:d4bcc2cd76bd1711c1501555a8db3b932ad58425a4ecc362aac13e97b082d5c2
pdnsadmin=0.4.1
traefik=v2.11.16
caddy=latest
baserow=1.23.2

View File

@ -14,7 +14,7 @@ config_pdnsadmin() {
cat > /federated/apps/pdnsadmin/docker-compose.yml <<EOF
services:
pdnsadmin:
image: pschiffe/pdns-admin-uwsgi\${IMAGE_VERSION}
image: pschiffe/pdns-admin:\${IMAGE_VERSION}
container_name: pdnsadmin
hostname: pdnsadmin.$DOMAIN
restart: always
@ -42,7 +42,7 @@ PDNS_ADMIN_WEBSERVER_PASSWORD_SALT=`htpasswd -bnBC 10 "" $ADMINPASS | tr -d ':\n
PDNS_MYSQL_COMMAND="insert into user (id, username, password, firstname, lastname, email, otp_secret, role_id, confirmed) values (\"1\", \"admin@$DOMAIN\", \"$PDNS_ADMIN_WEBSERVER_PASSWORD_SALT\", \"Admin\", \"Federated\", \"admin@$DOMAIN\", \"\", \"1\", \"0\");"
cat > /federated/apps/pdnsadmin/.env <<EOF
IMAGE_VERSION="@sha256:d4bcc2cd76bd1711c1501555a8db3b932ad58425a4ecc362aac13e97b082d5c2"
IMAGE_VERSION="0.4.1"
PDNS_ADMIN_SQLA_DB_HOST="'mysql'"
PDNS_ADMIN_SQLA_DB_PORT="'3306'"
PDNS_ADMIN_SQLA_DB_USER="'pdns'"
@ -50,7 +50,7 @@ PDNS_ADMIN_SQLA_DB_PASSWORD="'$MYSQL_PASSWORD'"
PDNS_ADMIN_SQLA_DB_NAME="'pdns'"
PDNS_API_URL="http://pdns.$DOMAIN:8081/"
PDNS_API_KEY="$PDNS_APIKEY"
PDNS_VERSION="4.7.0"
PDNS_VERSION="4.9.0"
EOF
chmod 600 /federated/apps/pdnsadmin/.env