Compare commits

..

4 Commits

3 changed files with 6 additions and 5 deletions

1
.gitignore vendored
View File

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

View File

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

View File

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