haproxy specify user

This commit is contained in:
Seth Foster
2021-06-24 13:54:24 -04:00
parent 2afa406b7f
commit 7bc7c9c4bd
@@ -60,8 +60,9 @@ services:
{% if cluster_node_count|int > 1 %} {% if cluster_node_count|int > 1 %}
haproxy: haproxy:
image: haproxy image: haproxy
user: "{{ ansible_user_uid }}"
volumes: volumes:
- "./haproxy.cfg:/usr/local/etc/haproxy/haproxy.cfg" - "./haproxy.cfg:/usr/local/etc/haproxy/haproxy.cfg:Z"
ports: ports:
- "8013:8013" - "8013:8013"
- "8043:8043" - "8043:8043"