Skip to content

Dockerfile for Logfan Docker image based on Alpine

Notifications You must be signed in to change notification settings

pteich/docker-bitfan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

docker-bitfan

Dockerfile for Bitfan (former Logfan) Docker image based on Alpine

Bitfan is a lightweight Logstash replacement written in Go.

Basic Usage

Create a valid config file e.g. simple.conf in a specific folder.

docker run -d --name=bitfan -v /path/to/config:/config pteich/logfan:latest run /config/simple.conf

Usage like local CLI

You can use this container like a locally available binary.

docker run -it --rm pteich/logfan --help

Be aware that you have to mount your local config folder via -v if you need it inside your container.

Docker-Compose

You can use docker-compose to build and start this container. Edit docker-compose.yml for your needs.

docker-compose up -d