mirror of
https://github.com/vimagick/dockerfiles
synced 2024-06-27 09:18:43 +00:00
add ipfm
This commit is contained in:
parent
e3468097e0
commit
13dbbd951f
@ -91,6 +91,7 @@ A collection of delicious docker recipes.
|
|||||||
- [x] glances
|
- [x] glances
|
||||||
- [x] graphite
|
- [x] graphite
|
||||||
- [x] influxdb
|
- [x] influxdb
|
||||||
|
- [x] ipfm
|
||||||
- [x] logstash
|
- [x] logstash
|
||||||
- [x] statsd
|
- [x] statsd
|
||||||
- [x] telegraf
|
- [x] telegraf
|
||||||
|
14
ipfm/Dockerfile
Normal file
14
ipfm/Dockerfile
Normal 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
0
ipfm/README.md
Normal file
8
ipfm/data/etc/ipfm.conf
Normal file
8
ipfm/data/etc/ipfm.conf
Normal 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
0
ipfm/data/log/.gitkeep
Normal file
10
ipfm/docker-compose.yml
Normal file
10
ipfm/docker-compose.yml
Normal 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
|
Loading…
Reference in New Issue
Block a user