A Docker image for Armon's bloomd, a C network daemon for bloom filters.
docker run -d -p 8673:8673 saidimu/bloomd:v0.7.4
bloomd is now listening on port 8673
of your localhost.
If you have fig installed, clone this repository and execute the following commands:
git clone [email protected]:saidimu/bloomd-docker.git
cd bloomd-docker
fig up -d
fig logs
bloomd is now listening on port 8673
of your localhost.
-
Create a mountable data directory
<data-dir>
on the host. -
Create a bloomd config file at
<data-dir>/bloomd.conf
.
```ini
# Settings for bloomd
[bloomd]
tcp_port = 8673
data_dir = /data/bloomd
log_level = INFO
flush_interval = 300
workers = 2
```
- Start a container by mounting the data directory on the host to /data in the container:
```sh
docker run -d -p 8673 -v <data-dir>:/data saidimu/bloomd:v0.7.4
```
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.