https://github.com/pteich/docker-bitfan
Dockerfile for Logfan Docker image based on Alpine
https://github.com/pteich/docker-bitfan
docker docker-image logging
Last synced: 2 months ago
JSON representation
Dockerfile for Logfan Docker image based on Alpine
- Host: GitHub
- URL: https://github.com/pteich/docker-bitfan
- Owner: pteich
- Created: 2016-12-05T12:41:56.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-08-28T20:51:57.000Z (almost 9 years ago)
- Last Synced: 2025-10-09T07:04:46.570Z (9 months ago)
- Topics: docker, docker-image, logging
- Size: 5.86 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# docker-bitfan
Dockerfile for Bitfan (former Logfan) Docker image based on Alpine
[Bitfan](https://github.com/vjeantet/bitfan) is a lightweight Logstash replacement written in Go.
## Basic Usage
Create a valid config file e.g. `simple.conf` in a specific folder.
```bash
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.
```bash
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.
```bash
docker-compose up -d
```