You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 13, 2018. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -198,7 +198,7 @@ Settings in this part is immutable, you have to redeploy HAProxy service to make
198
198
199
199
|Environment Variable|Default|Description|
200
200
|:-----:|:-----:|:----------|
201
-
|ADDITIONAL_BACKENDS||list of additional backends to balance. The format is `backend name, FORCE_SSL(True|False), server name, host:port, options`|
201
+
|ADDITIONAL_BACKEND_\<NAME\>||add an additional backend with the name set in <NAME>. Possible values include:`balance source, server 127.0.0.1:8080`|
202
202
|ADDITIONAL_SERVICES||list of additional services to balance (es: `prj1:web,prj2:sql`). Discovery will be based on `com.docker.compose.[project|service]` container labels. This environment variable only works on compose v2, and the referenced services must be on a network resolvable and accessible to this containers.|
203
203
|BALANCE|roundrobin|load balancing algorithm to use. Possible values include: `roundrobin`, `static-rr`, `source`, `leastconn`. See:[HAProxy:balance](https://cbonte.github.io/haproxy-dconv/configuration-1.5.html#4-balance)|
204
204
|CA_CERT_FILE||the path of a ca-cert file. This allows you to mount your ca-cert file directly from a volume instead of from envvar. If set, `CA_CERT` envvar will be ignored. Possible value: `/cacerts/cert0.pem`|
@@ -228,6 +228,8 @@ Settings in this part is immutable, you have to redeploy HAProxy service to make
228
228
|STATS_PORT|1936|port for the HAProxy stats section. If this port is published, stats can be accessed at `http://<host-ip>:<STATS_PORT>/`
229
229
|TIMEOUT|connect 5000, client 50000, server 50000|comma-separated list of HAProxy `timeout` entries to the `default` section.|
230
230
|NBPROC|1|sets the `nbproc` entry to the `global` section. By default, only one process is created, which is the recommended mode of operation.|
231
+
|HAPROXY_USER|haproxy|sets the user of the UNIX sockets to the designated system user name|
232
+
|HAPROXY_GROUP|haproxy|sets the group of the UNIX sockets to the designated system group name|
0 commit comments