changed DB variables to entire URI

This commit is contained in:
Bryan Joshua Pedini 2022-03-14 19:03:11 +01:00
parent 983f792326
commit 1fa3d8c3b1
2 changed files with 2 additions and 4 deletions

View File

@ -5,7 +5,7 @@ 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

View File

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