Skip to content

Commit

Permalink
updated conf
Browse files Browse the repository at this point in the history
  • Loading branch information
guru-aot committed Jun 17, 2024
1 parent 15afc2f commit 1685685
Show file tree
Hide file tree
Showing 4 changed files with 818 additions and 3 deletions.
4 changes: 2 additions & 2 deletions devops/helm/clamAV/_clamav/configurations/1.0/clamd.conf
Original file line number Diff line number Diff line change
Expand Up @@ -547,7 +547,7 @@ MaxScanSize 150M
# Technical design limitations prevent ClamAV from scanning files greater than
# 2 GB at this time.
# Default: 100M
MaxFileSize 30M
MaxFileSize 4M

# Nested archives are scanned recursively, e.g. if a Zip archive contains a RAR
# file, all files within it will also be scanned. This options specifies how
Expand Down Expand Up @@ -662,7 +662,7 @@ PCRERecMatchLimit 10000
# MaxRecursion limit will be flagged with the virus name starting with
# "Heuristics.Limits.Exceeded".
# Default: no
#AlertExceedsMax yes
AlertExceedsMax yes

##
## On-access Scan Settings
Expand Down
2 changes: 1 addition & 1 deletion sources/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -218,9 +218,9 @@ services:
- CLAMAV_NO_CLAMD="false"
- CLAMAV_NO_FRESHCLAMD="false"
- CLAMAV_NO_MILTERD="true"
- CLAMD_STARTUP_TIMEOUT=1800
- FRESHCLAM_CHECKS=1
- CLAMAV_PORT=${CLAMAV_PORT}
- CLAMD_STARTUP_TIMEOUT=1800
ports:
- ${CLAMAV_PORT}:${CLAMAV_PORT}
healthcheck:
Expand Down
2 changes: 2 additions & 0 deletions sources/packages/clamav/Dockerfile.dev
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
FROM clamav/clamav:1.2
RUN freshclam
# Copy the clamd.conf file into the container
COPY clamav/clamd.conf /etc/clamav/clamd.conf
COPY "clamav/scripts/docker-entrypoint-unprivileged.sh" "/init"
RUN chmod +x /init
Loading

0 comments on commit 1685685

Please sign in to comment.