Dockerfile for Bitfan (former Logfan) Docker image based on Alpine
Bitfan is a lightweight Logstash replacement written in Go.
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
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.
You can use docker-compose
to build and start this container. Edit docker-compose.yml
for your needs.
docker-compose up -d