Map /var/lib/docker/containers to promtail

This commit is contained in:
Joey Hafner 2022-07-08 00:21:58 -07:00
parent f2765400ba
commit ede63a36e6

View File

@ -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