powerdns-admin/docker-compose.yml
2019-12-04 11:50:46 +07:00

21 lines
448 B
YAML

version: "3"
services:
app:
build:
context: .
dockerfile: docker/Dockerfile
image: powerdns-admin:latest
container_name: powerdns_admin
ports:
- "9191:80"
logging:
driver: json-file
options:
max-size: 50m
environment:
- SQLALCHEMY_DATABASE_URI=mysql://pda:changeme@host.docker.internal/pda
- GUINCORN_TIMEOUT=60
- GUNICORN_WORKERS=2
- GUNICORN_LOGLEVEL=DEBUG