haproxy specify user

This commit is contained in:
Seth Foster
2021-06-24 11:44:35 -04:00
parent 2afa406b7f
commit 7bc7c9c4bd

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"