1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-01-02 03:37:40 +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 ## docker-compose.yml
```yaml ```yaml
motion: version: "3.8"
image: easypi/motion-arm services:
ports: motion:
- "8080:8080" image: easypi/motion-arm
- "8081:8081" ports:
volumes: - "8080:8080"
- ./motion.conf:/etc/motion/motion.conf - "8081:8081"
- ./data:/var/lib/motion volumes:
- /etc/localtime:/etc/localtime - ./data/etc/motion.conf:/etc/motion/motion.conf
devices: - ./data/var:/var/lib/motion
- /dev/video0:/dev/video0 - /etc/localtime:/etc/localtime
restart: always devices:
- /dev/video0:/dev/video0
restart: unless-stopped
``` ```
You can edit `motion.conf` to customize motion. You can edit `motion.conf` to customize motion.

View File

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

View File

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