Based on official promtail image with entrypoint and healthcheck added.
promtail:
image: osshelp/promtail:stable
deploy:
mode: global
environment:
LOKI_HOST: $LOKI_SYSTEM_HOST
SERVER_NAME: $PROMTAIL_SERVER_NAME
volumes:
- /var/log:/var/log
- /mnt/docker/promtail/tmp:/tmp
networks:
- net
Setting | Default | Description |
---|---|---|
LOKI_HOST |
http://loki:3100 |
Loki server host |
SERVER_NAME |
Current hostname |
Server name log label |
DEBUG |
- | Enable debug mode |
For internal purposes and OSSHelp customers we have an alternative image url:
image: oss.help/pub/promtail:stable
There is no difference between the DockerHub image and the oss.help/pub image.
- Fix deprication warning
msg="WARNING!!! entry_parser config is deprecated, please change to pipeline_stages"