Some checks failed
CI/CD Pipeline / unit-tests (push) Failing after 1m16s
CI/CD Pipeline / integration-tests (push) Failing after 2m32s
CI/CD Pipeline / lint (push) Successful in 5m22s
CI/CD Pipeline / e2e-tests (push) Has been skipped
CI/CD Pipeline / build (push) Has been skipped
41 lines
825 B
INI
41 lines
825 B
INI
# Autobase HAProxy Configuration
|
|
global
|
|
maxconn 100
|
|
log stdout local0
|
|
stats timeout 30s
|
|
|
|
defaults
|
|
log global
|
|
mode tcp
|
|
option tcplog
|
|
retries 3
|
|
timeout connect 5s
|
|
timeout client 30m
|
|
timeout server 30m
|
|
|
|
listen primary
|
|
bind *:5433
|
|
mode tcp
|
|
option httpchk
|
|
http-check expect status 200
|
|
default-server inter 3s fall 3 rise 2 on-marked-down shutdown-sessions
|
|
server patroni1 patroni:5432 maxconn 100 check port 8008
|
|
|
|
listen redis
|
|
bind *:6379
|
|
mode tcp
|
|
option tcp-check
|
|
tcp-check send PING\r\n
|
|
tcp-check expect string +PONG
|
|
server redis1 redis:6379 check inter 3s fall 3 rise 2
|
|
|
|
listen stats
|
|
bind *:7000
|
|
mode http
|
|
stats enable
|
|
stats uri /
|
|
stats refresh 10s
|
|
stats show-legends
|
|
stats show-node
|
|
stats auth admin:admin
|