haproxy: map in config as ro

The container shouldn't need to write to its config

Change-Id: Iadbe7b663615623fbd6201aa1f2557b0eb267179
This commit is contained in:
Ian Wienand 2021-12-01 09:57:05 +11:00
parent f29aa2da16
commit 3c993c317b

View File

@ -36,7 +36,7 @@ services:
network_mode: host
volumes:
- /dev/log:/dev/log
- /var/haproxy/etc:/usr/local/etc/haproxy
- /var/haproxy/etc:/usr/local/etc/haproxy:ro
- /var/haproxy/run:/var/haproxy/run
logging:
driver: syslog