changed DB variables to entire URI
This commit is contained in:
parent
983f792326
commit
1fa3d8c3b1
@ -5,7 +5,7 @@ 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
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user