Skip to content

Customized official image with some useful tweaks

License

Notifications You must be signed in to change notification settings

OSSHelp/docker-promtail

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

promtail

Build Status

Description

Based on official promtail image with entrypoint and healthcheck added.

Deploy example

  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

Parameters

Setting Default Description
LOKI_HOST http://loki:3100 Loki server host
SERVER_NAME Current hostname Server name log label
DEBUG - Enable debug mode

Internal usage

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.

Links

TODO

  • Fix deprication warning msg="WARNING!!! entry_parser config is deprecated, please change to pipeline_stages"