/docker-openwrt-fluentbit

Fluentbit docker image on top of mcreations/openwrt-x64

Primary LanguageShell

Fluent-bit docker image over OpenWRT

This docker image is based on mcreations/openwrt-x64:latest.

Installation

To install, make and optionally make clean.

Usage

Built-in config files

You may start Fluent-bit with one of the built-in configs, found in src/fluent-bit/conf/, or make your own config file, say FOO.conf. This can also be a combination of built-in configs, with or without own extra rules, as specified here.

docker run -v /full/path/to/your/file/FOO.conf:/opt/fluent-bit/FOO.conf -e FLUENTBIT_CONFIG_FILE=/opt(fluent-bit/FOO.conf docker-openwrt-fluentbit 

Updating

To update to a version with tag $TAG, do:

git subtree pull -P src/fluent-bit --squash https://github.com/fluent/fluent-bit.git $TAG
make && make clean