Files
haproxy-dashboard/docker-compose.yml
Mateusz Gruszczyński d2ca966a58 redactor
2025-11-01 23:03:31 +01:00

42 lines
718 B
YAML

services:
haproxy-configurator:
build:
context: .
dockerfile: Dockerfile
container_name: haproxy-configurator
restart: unless-stopped
ports:
- "15000:5000"
- "80:80"
- "443: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