2019-12-04 04:50:46 +00:00
|
|
|
version: "3"
|
2018-04-17 14:21:42 +00:00
|
|
|
|
|
|
|
services:
|
2019-12-04 04:50:46 +00:00
|
|
|
app:
|
2018-04-17 14:21:42 +00:00
|
|
|
build:
|
|
|
|
context: .
|
2019-12-04 04:50:46 +00:00
|
|
|
dockerfile: docker/Dockerfile
|
|
|
|
image: powerdns-admin:latest
|
|
|
|
container_name: powerdns_admin
|
2018-04-17 14:21:42 +00:00
|
|
|
ports:
|
2019-12-04 04:50:46 +00:00
|
|
|
- "9191:80"
|
2018-04-17 14:21:42 +00:00
|
|
|
logging:
|
|
|
|
driver: json-file
|
|
|
|
options:
|
|
|
|
max-size: 50m
|
|
|
|
environment:
|
2019-12-04 04:50:46 +00:00
|
|
|
- SQLALCHEMY_DATABASE_URI=mysql://pda:changeme@host.docker.internal/pda
|
|
|
|
- GUINCORN_TIMEOUT=60
|
|
|
|
- GUNICORN_WORKERS=2
|
|
|
|
- GUNICORN_LOGLEVEL=DEBUG
|