1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-11-28 09:08:36 +02:00

update snort3

This commit is contained in:
kev 2022-02-11 14:50:51 +08:00
parent a2961f24df
commit cdd418a79a
3 changed files with 31 additions and 27 deletions

View File

@ -10,18 +10,20 @@ other words, it can detect motion.
## docker-compose.yml
```yaml
motion:
image: easypi/motion-arm
ports:
- "8080:8080"
- "8081:8081"
volumes:
- ./motion.conf:/etc/motion/motion.conf
- ./data:/var/lib/motion
- /etc/localtime:/etc/localtime
devices:
- /dev/video0:/dev/video0
restart: always
version: "3.8"
services:
motion:
image: easypi/motion-arm
ports:
- "8080:8080"
- "8081:8081"
volumes:
- ./data/etc/motion.conf:/etc/motion/motion.conf
- ./data/var:/var/lib/motion
- /etc/localtime:/etc/localtime
devices:
- /dev/video0:/dev/video0
restart: unless-stopped
```
You can edit `motion.conf` to customize motion.

View File

@ -1,12 +1,14 @@
motion:
image: easypi/motion-arm
ports:
- "8080:8080"
- "8081:8081"
volumes:
- ./data/etc/motion.conf:/etc/motion/motion.conf
- ./data/var:/var/lib/motion
- /etc/localtime:/etc/localtime
devices:
- /dev/video0:/dev/video0
restart: unless-stopped
version: "3.8"
services:
motion:
image: easypi/motion-arm
ports:
- "8080:8080"
- "8081:8081"
volumes:
- ./data/etc/motion.conf:/etc/motion/motion.conf
- ./data/var:/var/lib/motion
- /etc/localtime:/etc/localtime
devices:
- /dev/video0:/dev/video0
restart: unless-stopped

View File

@ -5,9 +5,9 @@
FROM ubuntu:20.04
MAINTAINER EasyPi Software Foundation
ENV SNORT_VERSION=3.1.12.0
ENV LIBDAQ_VERSION=3.0.5
ENV LIBDNET_VERSION=1.14
ARG SNORT_VERSION=3.1.23.0
ARG LIBDAQ_VERSION=3.0.6
ARG LIBDNET_VERSION=1.14
ARG DEBIAN_FRONTEND=noninteractive