Merge "haproxy: write to container log files"

This commit is contained in:
Zuul 2021-04-12 23:17:39 +00:00 committed by Gerrit Code Review
commit b092fb9089
1 changed files with 8 additions and 0 deletions

View File

@ -11,6 +11,10 @@ services:
- /dev/log:/dev/log
- /var/haproxy/etc:/usr/local/etc/haproxy
- /var/haproxy/run:/var/haproxy/run
logging:
driver: syslog
options:
tag: "docker-haproxy"
haproxy-statsd:
restart: always
image: docker.io/opendevorg/haproxy-statsd:latest
@ -20,3 +24,7 @@ services:
environment:
STATSD_HOST: graphite.opendev.org
STATSD_PORT: 8125
logging:
driver: syslog
options:
tag: "docker-haproxy-statsd"