mirror of
https://github.com/pschiffe/docker-pdns.git
synced 2024-11-13 03:47:56 +01:00
Update VERSION env var, mariadb and phpmyadmin
This commit is contained in:
parent
014b328705
commit
0db0e6259e
8 changed files with 12 additions and 12 deletions
|
@ -62,7 +62,7 @@
|
|||
- name: db
|
||||
docker_container:
|
||||
name: pdns-mariadb
|
||||
image: mariadb:10.6
|
||||
image: mariadb:10.10
|
||||
pull: true
|
||||
state: '{{ c_state }}'
|
||||
networks_cli_compatible: true
|
||||
|
@ -86,7 +86,7 @@
|
|||
- name: phpmyadmin
|
||||
docker_container:
|
||||
name: pdns-phpmyadmin
|
||||
image: phpmyadmin/phpmyadmin:5
|
||||
image: phpmyadmin:5
|
||||
pull: true
|
||||
state: '{{ c_state }}'
|
||||
networks_cli_compatible: true
|
||||
|
@ -238,7 +238,7 @@
|
|||
- /etc/localtime:/etc/localtime:ro
|
||||
env:
|
||||
PDNS_ADMIN_SQLA_DB_PASSWORD: "'my-secret-pw'"
|
||||
PDNS_VERSION: "4.5"
|
||||
PDNS_VERSION: "4.7"
|
||||
PDNS_API_KEY: "secret"
|
||||
tags:
|
||||
- pdns-admin
|
||||
|
|
|
@ -10,7 +10,7 @@ services:
|
|||
- /etc/localtime:/etc/localtime:ro
|
||||
|
||||
mariadb:
|
||||
image: mariadb:10.6
|
||||
image: mariadb:10.10
|
||||
networks:
|
||||
pdns:
|
||||
aliases:
|
||||
|
@ -27,7 +27,7 @@ services:
|
|||
retries: 5
|
||||
|
||||
phpmyadmin:
|
||||
image: phpmyadmin/phpmyadmin:5
|
||||
image: phpmyadmin:5
|
||||
networks:
|
||||
- pdns
|
||||
ports:
|
||||
|
@ -100,7 +100,7 @@ services:
|
|||
- /etc/localtime:/etc/localtime:ro
|
||||
environment:
|
||||
- PDNS_ADMIN_SQLA_DB_PASSWORD='my-secret-pw'
|
||||
- PDNS_VERSION=4.5
|
||||
- PDNS_VERSION=4.7
|
||||
- PDNS_API_KEY=secret
|
||||
depends_on:
|
||||
- mariadb
|
||||
|
|
|
@ -58,7 +58,7 @@ spec:
|
|||
- name: PDNS_API_URL
|
||||
value: "http://master-api-pdns:8081/"
|
||||
- name: PDNS_VERSION
|
||||
value: "4.5"
|
||||
value: "4.7"
|
||||
- name: PDNS_API_KEY
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
|
|
|
@ -27,7 +27,7 @@ spec:
|
|||
spec:
|
||||
containers:
|
||||
- name: mariadb-pdns
|
||||
image: mariadb:10.6
|
||||
image: mariadb:10.10
|
||||
imagePullPolicy: Always
|
||||
env:
|
||||
- name: MYSQL_ROOT_PASSWORD
|
||||
|
|
|
@ -13,7 +13,7 @@ RUN mkdir -p /etc/pdns-recursor/api.d \
|
|||
&& mkdir -p /run/pdns-recursor \
|
||||
&& chown -R pdns-recursor: /run/pdns-recursor
|
||||
|
||||
ENV VERSION=4.5 \
|
||||
ENV VERSION=4.7 \
|
||||
PDNS_setuid=pdns-recursor \
|
||||
PDNS_setgid=pdns-recursor \
|
||||
PDNS_daemon=no
|
||||
|
|
|
@ -12,7 +12,7 @@ RUN mkdir -p /etc/pdns/api.d \
|
|||
&& mkdir -p /var/run/pdns-recursor \
|
||||
&& chown -R recursor: /var/run/pdns-recursor
|
||||
|
||||
ENV VERSION=4.5 \
|
||||
ENV VERSION=4.7 \
|
||||
PDNS_setuid=recursor \
|
||||
PDNS_setgid=recursor \
|
||||
PDNS_daemon=no
|
||||
|
|
|
@ -12,7 +12,7 @@ RUN sed -i '/tsflags=nodocs/d' /etc/dnf/dnf.conf \
|
|||
|
||||
RUN pip3 install --no-cache-dir 'Jinja2<3.1' envtpl
|
||||
|
||||
ENV VERSION=4.6 \
|
||||
ENV VERSION=4.7 \
|
||||
PDNS_guardian=yes \
|
||||
PDNS_setuid=pdns \
|
||||
PDNS_setgid=pdns \
|
||||
|
|
|
@ -10,7 +10,7 @@ RUN apk add --no-cache \
|
|||
|
||||
RUN pip3 install --no-cache-dir 'Jinja2<3.1' envtpl
|
||||
|
||||
ENV VERSION=4.5 \
|
||||
ENV VERSION=4.7 \
|
||||
PDNS_guardian=yes \
|
||||
PDNS_setuid=pdns \
|
||||
PDNS_setgid=pdns \
|
||||
|
|
Loading…
Reference in a new issue