Compare commits

...

4 Commits

3 changed files with 6 additions and 5 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
/.env
/docker-compose.override.yml

View File

@ -5,11 +5,13 @@ services:
image: ngoduykhanh/powerdns-admin:${PDA_VERSION}
restart: always
environment:
- SQLALCHEMY_DATABASE_URI=mysql://${MYSQL_USER}:${MYSQL_PASS}@host.docker.internal/${MYSQL_DBNAME}
- SQLALCHEMY_DATABASE_URI=${PDA_DBURI}
- GUNICORN_TIMEOUT=60
- GUNICORN_WORKERS=2
- GUNICORN_LOGLEVEL=INFO
- OFFLINE_MODE=False
extra_hosts:
- host.docker.internal:host-gateway
labels:
- traefik.enable=${TRAEFIK_ENABLED}
- traefik.docker.network=traefik

View File

@ -1,8 +1,6 @@
# PowerDNS-Admin
PDA_VERSION==0.2.4
MYSQL_DBNAME=pdns
MYSQL_USER=pdns
MYSQL_PASS=changeme
PDA_VERSION=0.2.4
PDA_DBURI=mysql://pdns:changeme@host.docker.internal/pdns
# Træfik
TRAEFIK_CERTRESOLVER=letsencrypt