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
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ services:
network_mode: host network_mode: host
volumes: volumes:
- /dev/log:/dev/log - /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 - /var/haproxy/run:/var/haproxy/run
logging: logging:
driver: syslog driver: syslog