File tree Expand file tree Collapse file tree 3 files changed +3
-5
lines changed
Expand file tree Collapse file tree 3 files changed +3
-5
lines changed Original file line number Diff line number Diff line change 221221 ansible.builtin.shell : |
222222 for i in $(seq 1 10); do
223223 if docker exec rustyip-haproxy sh -c \
224- 'echo "set server app/{{ deploy_target }} state ready" | socat stdio unix:/var/run/haproxy /admin.sock' 2>/dev/null; then
224+ 'echo "set server app/{{ deploy_target }} state ready" | socat stdio unix:/tmp /admin.sock' 2>/dev/null; then
225225 echo "admin socket command succeeded on attempt $i"
226226 exit 0
227227 fi
293293 ansible.builtin.shell : |
294294 for i in $(seq 1 10); do
295295 if docker exec rustyip-haproxy sh -c \
296- 'echo "set server app/{{ current_active }} state ready" | socat stdio unix:/var/run/haproxy /admin.sock' 2>/dev/null; then
296+ 'echo "set server app/{{ current_active }} state ready" | socat stdio unix:/tmp /admin.sock' 2>/dev/null; then
297297 echo "admin socket command succeeded on attempt $i"
298298 exit 0
299299 fi
Original file line number Diff line number Diff line change @@ -9,7 +9,6 @@ services:
99 - ./haproxy/haproxy.cfg:/usr/local/etc/haproxy/haproxy.cfg:ro
1010 - ./haproxy/ipv4_domain.lst:/usr/local/etc/haproxy/ipv4_domain.lst:ro
1111 - ./haproxy/certs:/etc/haproxy/certs:ro
12- - haproxy_run:/var/run/haproxy
1312{% if ipv 4_domain %}
1413 - ./haproxy/certs-ipv4:/etc/haproxy/certs-ipv4:ro
1514{% endif %}
@@ -65,7 +64,6 @@ services:
6564 - internal
6665
6766volumes:
68- haproxy_run:
6967 db_data_blue:
7068 db_data_green:
7169
Original file line number Diff line number Diff line change 11global
22 log stderr local0 err
33 maxconn 10000
4- stats socket /var/run/haproxy/ admin.sock mode 660 level admin
4+ stats socket /tmp/ admin.sock mode 660 level admin expose-fd listeners
55 # Performance tuning for high-throughput
66 tune.bufsize 16384
77 tune.maxrewrite 1024
You can’t perform that action at this time.
0 commit comments