make container volume map explicitly read-only
This commit is contained in:
parent
ede63a36e6
commit
7524c7c5bc
@ -60,7 +60,7 @@ services:
|
||||
networks:
|
||||
- monitoring
|
||||
volumes:
|
||||
- /var/lib/docker/containers:/var/lib/docker/containers
|
||||
- /var/lib/docker/containers:/var/lib/docker/containers:ro
|
||||
- ${DOCKER_DATA}/promtail:/etc/promtail
|
||||
- ./promtail-config.yml:/etc/promtail/promtail-config.yml # not sure if this works. If not, just edit the config within the data volume
|
||||
restart: unless-stopped
|
||||
|
Loading…
Reference in New Issue
Block a user