1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-04-23 12:08:49 +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
version: "3.8"
services:
motion: motion:
image: easypi/motion-arm image: easypi/motion-arm
ports: ports:
- "8080:8080" - "8080:8080"
- "8081:8081" - "8081:8081"
volumes: volumes:
- ./motion.conf:/etc/motion/motion.conf - ./data/etc/motion.conf:/etc/motion/motion.conf
- ./data:/var/lib/motion - ./data/var:/var/lib/motion
- /etc/localtime:/etc/localtime - /etc/localtime:/etc/localtime
devices: devices:
- /dev/video0:/dev/video0 - /dev/video0:/dev/video0
restart: always restart: unless-stopped
``` ```
You can edit `motion.conf` to customize motion. You can edit `motion.conf` to customize motion.

View File

@ -1,3 +1,5 @@
version: "3.8"
services:
motion: motion:
image: easypi/motion-arm image: easypi/motion-arm
ports: ports:

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