[pdnsadmin] Replace the obsolete container with the maintained pdns-admin version
This commit is contained in:
parent
7d43ce33e0
commit
2c6c4aa504
@ -1,6 +1,6 @@
|
|||||||
pdnsmysql=10.7.8
|
pdnsmysql=10.7.8
|
||||||
pdns=4.9
|
pdns=4.9
|
||||||
pdnsadmin=@sha256:d4bcc2cd76bd1711c1501555a8db3b932ad58425a4ecc362aac13e97b082d5c2
|
pdnsadmin=0.4.1
|
||||||
traefik=v2.11.16
|
traefik=v2.11.16
|
||||||
caddy=latest
|
caddy=latest
|
||||||
baserow=1.23.2
|
baserow=1.23.2
|
||||||
|
@ -14,7 +14,7 @@ config_pdnsadmin() {
|
|||||||
cat > /federated/apps/pdnsadmin/docker-compose.yml <<EOF
|
cat > /federated/apps/pdnsadmin/docker-compose.yml <<EOF
|
||||||
services:
|
services:
|
||||||
pdnsadmin:
|
pdnsadmin:
|
||||||
image: pschiffe/pdns-admin-uwsgi\${IMAGE_VERSION}
|
image: pschiffe/pdns-admin:\${IMAGE_VERSION}
|
||||||
container_name: pdnsadmin
|
container_name: pdnsadmin
|
||||||
hostname: pdnsadmin.$DOMAIN
|
hostname: pdnsadmin.$DOMAIN
|
||||||
restart: always
|
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\");"
|
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
|
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_HOST="'mysql'"
|
||||||
PDNS_ADMIN_SQLA_DB_PORT="'3306'"
|
PDNS_ADMIN_SQLA_DB_PORT="'3306'"
|
||||||
PDNS_ADMIN_SQLA_DB_USER="'pdns'"
|
PDNS_ADMIN_SQLA_DB_USER="'pdns'"
|
||||||
@ -50,7 +50,7 @@ PDNS_ADMIN_SQLA_DB_PASSWORD="'$MYSQL_PASSWORD'"
|
|||||||
PDNS_ADMIN_SQLA_DB_NAME="'pdns'"
|
PDNS_ADMIN_SQLA_DB_NAME="'pdns'"
|
||||||
PDNS_API_URL="http://pdns.$DOMAIN:8081/"
|
PDNS_API_URL="http://pdns.$DOMAIN:8081/"
|
||||||
PDNS_API_KEY="$PDNS_APIKEY"
|
PDNS_API_KEY="$PDNS_APIKEY"
|
||||||
PDNS_VERSION="4.7.0"
|
PDNS_VERSION="4.9.0"
|
||||||
EOF
|
EOF
|
||||||
chmod 600 /federated/apps/pdnsadmin/.env
|
chmod 600 /federated/apps/pdnsadmin/.env
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user