haproxy specify user

This commit is contained in:
Seth Foster 2021-06-24 11:44:35 -04:00
parent 2afa406b7f
commit 7bc7c9c4bd
No known key found for this signature in database
GPG Key ID: 86E90D96F7184028

View File

@ -60,8 +60,9 @@ services:
{% if cluster_node_count|int > 1 %}
haproxy:
image: haproxy
user: "{{ ansible_user_uid }}"
volumes:
- "./haproxy.cfg:/usr/local/etc/haproxy/haproxy.cfg"
- "./haproxy.cfg:/usr/local/etc/haproxy/haproxy.cfg:Z"
ports:
- "8013:8013"
- "8043:8043"