PowerDNS-Admin/docker-compose.yml

21 lines
448 B
YAML
Raw Normal View History

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