Map /var/lib/docker/containers to promtail
This commit is contained in:
parent
f2765400ba
commit
ede63a36e6
@ -60,7 +60,7 @@ services:
|
||||
networks:
|
||||
- monitoring
|
||||
volumes:
|
||||
- /var/log:/var/log
|
||||
- /var/lib/docker/containers:/var/lib/docker/containers
|
||||
- ${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