fixed config for clamav

This commit is contained in:
Christian Lempa
2024-11-21 16:36:33 +01:00
parent 6e97a453ac
commit 22ee39d309
+6 -8
View File
@@ -1,22 +1,20 @@
---
services:
clamav:
image: clamav/clamav:latest
image: clamav/clamav:1.4.1
container_name: clamav
volumes:
- ./scandir:/scandir:rw
- ./config/clamd.conf:/etc/clamav/clamd.conf:ro
- ./config/freshclam.conf:/etc/clamav/freshclam.conf:ro
- clamav-data:/var/lib/clamav
# --> (Optional) Add a directory to scan
# - ./scandir:/scandir:rw
# <--
# -- Change logging driver here... (required for Wazuh integration)
logging:
driver: syslog
options:
tag: "clamd/{{.ID}}"
networks:
- frontend
tag: "clamd"
restart: unless-stopped
volumes:
clamav-data:
networks:
frontend:
external: true