Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions antivirus/clamav.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ services:
ANTIVIRUS_SCANNER_TYPE: clamav
volumes:
- clamav-socket:/var/run/clamav
depends_on:
clamav:
condition: service_healthy
clamav:
image: clamav/clamav:${CLAMAV_DOCKER_TAG:-latest}
environment:
Expand All @@ -26,6 +29,10 @@ services:
logging:
driver: ${LOG_DRIVER:-local}
restart: always
healthcheck:
test: sh -c "[ -S /tmp/clamd.sock ]"
timeout: 1s
retries: 20
volumes:
clamav-db:
clamav-socket: