2024-02-01 22:05:41 +00:00
|
|
|
---
|
|
|
|
deploy_haproxy_deploy_method: docker # deployment method, either host or docker
|
2024-02-03 21:11:57 +00:00
|
|
|
deploy_haproxy_version: latest
|
2024-02-01 22:05:41 +00:00
|
|
|
deploy_haproxy_env_variables: {}
|
|
|
|
deploy_haproxy_start_service: true
|
2024-02-03 21:11:57 +00:00
|
|
|
deploy_haproxy_cert_dir: ""
|
2024-02-01 22:05:41 +00:00
|
|
|
deploy_haproxy_extra_container_volumes: []
|
|
|
|
deploy_haproxy_global:
|
2024-02-02 22:42:53 +00:00
|
|
|
- log stdout format raw daemon debug
|
2024-02-01 22:05:41 +00:00
|
|
|
- stats socket {{ deploy_haproxy_socket }} level admin
|
|
|
|
- chroot {{ deploy_haproxy_chroot }}
|
|
|
|
- daemon
|
|
|
|
- description hashistack haproxy
|
|
|
|
|
|
|
|
deploy_haproxy_defaults:
|
|
|
|
- log global
|
|
|
|
- mode http
|
|
|
|
- option httplog
|
|
|
|
- option dontlognull
|
|
|
|
- timeout connect 5000
|
|
|
|
- timeout client 5000
|
|
|
|
- timeout server 5000
|
|
|
|
|
2024-02-03 21:11:57 +00:00
|
|
|
deploy_haproxy_frontends: []
|
2024-02-01 22:05:41 +00:00
|
|
|
|
2024-02-03 21:11:57 +00:00
|
|
|
deploy_haproxy_backends: []
|
2024-02-01 22:05:41 +00:00
|
|
|
|
|
|
|
deploy_haproxy_listen:
|
|
|
|
- name: monitoring
|
|
|
|
options:
|
|
|
|
- bind :9000
|
|
|
|
- mode http
|
|
|
|
- option httpchk
|
|
|
|
- stats enable
|
|
|
|
- stats uri /stats
|
|
|
|
- stats refresh 30s
|
|
|
|
- stats show-desc
|
|
|
|
- stats show-legends
|
|
|
|
- stats auth admin:password
|
|
|
|
- http-check send meth GET uri /health ver HTTP/1.1 hdr Host localhost
|
|
|
|
- http-check expect status 200
|
|
|
|
- acl health_check_ok nbsrv() ge 1
|
|
|
|
- monitor-uri /health
|
|
|
|
- http-request use-service prometheus-exporter if { path /metrics }
|