This commit is contained in:
Joey Hafner 2022-07-08 00:32:53 -07:00
parent 11c34a70e7
commit d646d61ee0

View File

@ -60,7 +60,7 @@ services:
networks: networks:
- monitoring - monitoring
volumes: volumes:
- /var/lib/docker/containers:/var/lib/docker/containers:ro - /var/lib/docker/:/var/lib/docker:ro
- ${DOCKER_DATA}/promtail:/etc/promtail - ${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 - ./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 restart: unless-stopped