compose.yaml 720 B

123456789101112131415161718192021222324252627282930
  1. ---
  2. name: "ClamAV"
  3. description: "An open-source antivirus engine"
  4. version: "0.0.1"
  5. date: "2023-10-01"
  6. author: "Christian Lempa"
  7. tags:
  8. - "clamav"
  9. - "antivirus"
  10. - "security"
  11. ---
  12. services:
  13. clamav:
  14. image: docker.io/clamav/clamav:1.4.3
  15. container_name: clamav
  16. volumes:
  17. - ./config/clamd.conf:/etc/clamav/clamd.conf:ro
  18. - ./config/freshclam.conf:/etc/clamav/freshclam.conf:ro
  19. - clamav-data:/var/lib/clamav
  20. # --> (Optional) Add a directory to scan
  21. # - ./scandir:/scandir:rw
  22. # <--
  23. # -- Change logging driver here... (required for Wazuh integration)
  24. logging:
  25. driver: syslog
  26. options:
  27. tag: "clamd"
  28. restart: unless-stopped
  29. volumes:
  30. clamav-data: