Files
haproxy-dashboard/docker-compose.yml
Mateusz Gruszczyński 8d88080c7f supervisord
2025-11-01 21:03:38 +01:00

42 lines
721 B
YAML

services:
haproxy-configurator:
build:
context: .
dockerfile: Dockerfile
container_name: haproxy-configurator
restart: unless-stopped
ports:
- "15000:5000"
- "7980:80"
- "7443:443"
- "8404:8404"
volumes:
- ./config:/app/config
- ./haproxy:/etc/haproxy
- ./logs:/var/log
- ./ssl:/app/ssl
environment:
- FLASK_ENV=production
- FLASK_APP=app.py
- PYTHONUNBUFFERED=1
cap_add:
- NET_ADMIN
- SYS_ADMIN
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "3"
networks:
- haproxy-net
networks:
haproxy-net:
driver: bridge