Merge "haproxy: write to container log files"
This commit is contained in:
commit
b092fb9089
@ -11,6 +11,10 @@ services:
|
|||||||
- /dev/log:/dev/log
|
- /dev/log:/dev/log
|
||||||
- /var/haproxy/etc:/usr/local/etc/haproxy
|
- /var/haproxy/etc:/usr/local/etc/haproxy
|
||||||
- /var/haproxy/run:/var/haproxy/run
|
- /var/haproxy/run:/var/haproxy/run
|
||||||
|
logging:
|
||||||
|
driver: syslog
|
||||||
|
options:
|
||||||
|
tag: "docker-haproxy"
|
||||||
haproxy-statsd:
|
haproxy-statsd:
|
||||||
restart: always
|
restart: always
|
||||||
image: docker.io/opendevorg/haproxy-statsd:latest
|
image: docker.io/opendevorg/haproxy-statsd:latest
|
||||||
@ -20,3 +24,7 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
STATSD_HOST: graphite.opendev.org
|
STATSD_HOST: graphite.opendev.org
|
||||||
STATSD_PORT: 8125
|
STATSD_PORT: 8125
|
||||||
|
logging:
|
||||||
|
driver: syslog
|
||||||
|
options:
|
||||||
|
tag: "docker-haproxy-statsd"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user