Home Catalog ClamAV Antivirus Daemon
Security

ClamAV Antivirus Daemon

Open-source antivirus engine and daemon for real-time malware and attachment scanning over TCP socket.

ARM64 & AMD64
Docker & Rootless Podman
100% Self-Hosted (Zero Lock-in)
RAM Profile: Medium
Default Port: Headless Daemon

Why this Configuration?

Quick Start (Standalone Docker Compose)

The snippet below is immediately ready to run in any standard Docker or Podman environment:

services:
  clamav:
    image: clamav/clamav:latest
    container_name: clamav
    restart: unless-stopped
    environment:
      CLAMAV_NO_FRESHCLAMD: "false"
      TZ: "Europe/Amsterdam"
    volumes:
      - "./data/clamav:/var/lib/clamav"
    expose:
      - 3310
    networks:
      - njorddeploy_net
      - nextcloud-internal

networks:
  njorddeploy_net:
  nextcloud-internal:
    name: nextcloud-internal

Start the service directly via the command line: docker compose up -d

Configuration & Environment Variables

Key configuration parameters and defaults derived from the NjordDeploy component template:

Variable Default Value Description
CLAMAV_DATA_PATH /opt/njorddeploy/data/clamav Host directory for persistent ClamAV virus signatures database

Ecosystem & Enterprise Integration

Effortless Management with NjordDeploy

Deploy, monitor, and update this service with a single click on your own hardware via the NjordDeploy Configurator.