Public | Automated Build

Last pushed: 2 years ago
Short Description
A high-performance network daemon for bloom filters (based on https://github.com/armon/bloomd)
Full Description

bloomd-docker

A Docker image for Armon's bloomd, a C network daemon for bloom filters.

Getting Started

docker run -d -p 8673:8673 saidimu/bloomd:v0.7.4

bloomd is now listening on port 8673 of your localhost.

Getting Started with fig

If you have fig installed, clone this repository and execute the following commands:

git clone git@github.com:saidimu/bloomd-docker.git
cd bloomd-docker
fig up -d
fig logs

bloomd is now listening on port 8673 of your localhost.

Attach persistent/shared directories using host-mounted volumes

  1. Create a mountable data directory <data-dir> on the host.

  2. Create a bloomd config file at <data-dir>/bloomd.conf.

    # Settings for bloomd
    [bloomd]
    tcp_port = 8673
    data_dir = /data/bloomd
    log_level = INFO
    flush_interval = 300
    workers = 2
    
  3. Start a container by mounting the data directory on the host to /data in the container:

    docker run -d -p 8673 -v <data-dir>:/data saidimu/bloomd:v0.7.4
    

Using fig with data-only containers

fig.yml includes definitions for a data-only container and a volume mounts for a custom_config folder that holds a custom config file you can provide.

Docker Pull Command
Owner
saidimu
Source Repository

Comments (0)