feat: initial commit

This commit is contained in:
Simon Cornet 2026-04-17 13:34:09 +02:00
commit 214e91a391
16 changed files with 546 additions and 93 deletions

38
defaults/main.yaml Normal file
View file

@ -0,0 +1,38 @@
---
# global settings
haproxy_global:
log: "/dev/log local2"
chroot: "/var/lib/haproxy"
pidfile: "/var/run/haproxy.pid"
maxconn: 35000
user: "haproxy"
group: "haproxy"
daemon: true
stats_socket: "/var/lib/haproxy/stats user haproxy group haproxy mode 660 level admin"
# default settings
haproxy_defaults:
log: "global"
mode: "tcp"
option: "tcplog"
timeout_check: "5s"
timeout_connect: "10s"
timeout_client: "600s"
timeout_server: "600s"
# stats listener (optional)
haproxy_stats:
enabled: false
bind: "0.0.0.0:9000"
mode: "http"
uri: "/"
show_node: true
refresh: "10s"
auth: "admin:password"
# frontends
haproxy_frontends: []
# backends
haproxy_backends: []