1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-11-21 18:06:36 +02:00
This commit is contained in:
kev 2023-09-20 16:39:29 +08:00
parent e3468097e0
commit 13dbbd951f
6 changed files with 33 additions and 0 deletions

View File

@ -91,6 +91,7 @@ A collection of delicious docker recipes.
- [x] glances
- [x] graphite
- [x] influxdb
- [x] ipfm
- [x] logstash
- [x] statsd
- [x] telegraf

14
ipfm/Dockerfile Normal file
View File

@ -0,0 +1,14 @@
#
# Dockerfile for ipfm
#
FROM debian:12
MAINTAINER EasyPi Software Foundation
RUN set -xe \
&& apt update -y \
&& apt install -y ipfm \
&& rm -rf /var/lib/apt/lists/*
ENTRYPOINT ["/usr/sbin/ipfm"]
CMD ["-n", "-c", "/etc/ipfm/ipfm.conf"]

0
ipfm/README.md Normal file
View File

8
ipfm/data/etc/ipfm.conf Normal file
View File

@ -0,0 +1,8 @@
DEVICE eth0
UTC
LOG
FILENAME "/var/log/ipfm/%Y-%m-%d/%H-%M.txt"
DUMP EVERY 1 hour
CLEAR ALWAYS
SORT TOTAL
NORESOLVE

0
ipfm/data/log/.gitkeep Normal file
View File

10
ipfm/docker-compose.yml Normal file
View File

@ -0,0 +1,10 @@
version: "3.8"
services:
ipfm:
image: vimagick/ipfm
volumes:
- ./data/etc:/etc/ipfm
- ./data/log:/var/log/ipfm
network_mode: host
privileged: true
restart: unless-stopped