mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-11-21 18:06:36 +02: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] graphite
|
||||
- [x] influxdb
|
||||
- [x] ipfm
|
||||
- [x] logstash
|
||||
- [x] statsd
|
||||
- [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