mirror of
https://github.com/ansible/awx.git
synced 2026-02-28 16:28:43 -03:30
Merge pull request #12246 from fosterseth/fix_haproxy_startup_error
use haproxy 2.3 with maxconn set to avoid startup failures
This commit is contained in:
@@ -69,7 +69,7 @@ services:
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% if control_plane_node_count|int > 1 %}
|
{% if control_plane_node_count|int > 1 %}
|
||||||
haproxy:
|
haproxy:
|
||||||
image: haproxy
|
image: haproxy:2.3
|
||||||
user: "{{ ansible_user_uid }}"
|
user: "{{ ansible_user_uid }}"
|
||||||
volumes:
|
volumes:
|
||||||
- "./haproxy.cfg:/usr/local/etc/haproxy/haproxy.cfg:Z"
|
- "./haproxy.cfg:/usr/local/etc/haproxy/haproxy.cfg:Z"
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
global
|
global
|
||||||
stats socket /tmp/admin.sock
|
stats socket /tmp/admin.sock
|
||||||
stats timeout 30s
|
stats timeout 30s
|
||||||
|
maxconn 1000
|
||||||
|
|
||||||
defaults
|
defaults
|
||||||
log global
|
log global
|
||||||
|
|||||||
Reference in New Issue
Block a user