2022-08-11 21:13:03 +00:00
|
|
|
version: "3.8"
|
2021-11-09 17:04:05 +00:00
|
|
|
|
|
|
|
x-logging: &default-logging
|
|
|
|
driver: json-file
|
|
|
|
options:
|
|
|
|
max-size: "10m"
|
|
|
|
max-file: "3"
|
|
|
|
|
|
|
|
services:
|
|
|
|
clamav:
|
|
|
|
image: clamav/clamav:stable_base
|
|
|
|
container_name: clamav
|
|
|
|
restart: on-failure
|
|
|
|
logging: *default-logging
|
|
|
|
volumes:
|
2021-11-11 12:33:44 +00:00
|
|
|
- ./docker/data/clamav/clamav/defs:/var/lib/clamav
|
|
|
|
- ./docker/clamav/clamd.conf:/etc/clamav/clamd.conf:ro
|
2021-11-09 17:04:05 +00:00
|
|
|
expose:
|
|
|
|
- 3310 # NEVER expose this outside of the local network!
|
|
|
|
networks:
|
|
|
|
shared:
|
|
|
|
ipv4_address: 10.10.10.100
|
|
|
|
|
|
|
|
malware-scanner:
|
2022-03-24 12:37:14 +00:00
|
|
|
# uncomment "build" and comment out "image" to build from sources
|
|
|
|
# build: https://github.com/SkynetLabs/malware-scanner.git#main
|
2022-04-21 16:57:09 +00:00
|
|
|
image: skynetlabs/malware-scanner:0.1.0
|
2021-11-09 17:04:05 +00:00
|
|
|
container_name: malware-scanner
|
|
|
|
restart: unless-stopped
|
|
|
|
logging: *default-logging
|
|
|
|
env_file:
|
|
|
|
- .env
|
|
|
|
environment:
|
2022-02-24 09:57:08 +00:00
|
|
|
- CLAMAV_IP=10.10.10.100
|
|
|
|
- CLAMAV_PORT=3310
|
2022-01-20 11:57:23 +00:00
|
|
|
- BLOCKER_IP=10.10.10.110
|
|
|
|
- BLOCKER_PORT=4000
|
2021-11-09 17:04:05 +00:00
|
|
|
expose:
|
|
|
|
- 4000
|
|
|
|
networks:
|
|
|
|
shared:
|
|
|
|
ipv4_address: 10.10.10.101
|
|
|
|
depends_on:
|
2021-11-10 20:09:16 +00:00
|
|
|
- mongo
|
2021-11-09 17:04:05 +00:00
|
|
|
- clamav
|
2021-12-14 07:39:46 +00:00
|
|
|
- blocker
|