2
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-12-21 13:23:02 +01:00
This commit is contained in:
kev
2015-06-22 15:56:44 +08:00
parent 2498f003f9
commit bf346fe08c
3 changed files with 8 additions and 4 deletions

View File

@@ -16,5 +16,4 @@ RUN echo 'export PATH=/opt/bro/bin:$PATH' >> /root/.bashrc
WORKDIR /opt/bro/logs
ENTRYPOINT bro -i
CMD ${DEVICE:-eth0}
CMD ["/opt/bro/bin/bro", "-i", "eth0"]

View File

@@ -9,10 +9,9 @@ frameworks.
```
bro:
image: vimagick/bro
command: bro -i eth0
volumes:
- ./logs:/opt/bro/logs
environment:
- DEVICE=eth0
net: host
```

6
bro/docker-compose.yml Normal file
View File

@@ -0,0 +1,6 @@
bro:
image: vimagick/bro
command: bro -i eth0
volumes:
- ./logs:/opt/bro/logs
net: host