Bump clamav to get it working again

freshclam is used to properly update the virus database. It's
best to use a separate container so that the clamav container
is not impacted by database updates.
This commit is contained in:
Steven Nguyen
2023-07-17 13:11:02 -07:00
parent c8689d1d41
commit 5bd2c41cd3
2 changed files with 33 additions and 2 deletions
+16 -1
View File
@@ -633,13 +633,26 @@ services:
volumes:
- appwrite-redis:/data:rw
# freshclam:
# image: appwrite/clamav:2.0.0
# container_name: appwrite-freshclam
# environment:
# MODE: freshclam
# volumes:
# - appwrite-clamav-conf:/etc/clamav
# - appwrite-clamav-data:/var/lib/clamav
# clamav:
# image: appwrite/clamav:1.2.0
# image: appwrite/clamav:2.0.0
# container_name: appwrite-clamav
# environment:
# MODE: clamd
# restart: unless-stopped
# networks:
# - appwrite
# volumes:
# - appwrite-clamav-conf:/etc/clamav
# - appwrite-clamav-data:/var/lib/clamav
# - appwrite-uploads:/storage/uploads
influxdb:
@@ -679,3 +692,5 @@ volumes:
appwrite-influxdb:
appwrite-config:
appwrite-executor:
# appwrite-clamav-conf:
# appwrite-clamav-data:
+17 -1
View File
@@ -705,12 +705,26 @@ services:
volumes:
- appwrite-redis:/data:rw
# freshclam:
# image: appwrite/clamav:2.0.0
# container_name: appwrite-freshclam
# environment:
# MODE: freshclam
# volumes:
# - appwrite-clamav-conf:/etc/clamav
# - appwrite-clamav-data:/var/lib/clamav
# clamav:
# image: appwrite/clamav:1.2.0
# image: appwrite/clamav:2.0.0
# container_name: appwrite-clamav
# environment:
# MODE: clamd
# restart: unless-stopped
# networks:
# - appwrite
# volumes:
# - appwrite-clamav-conf:/etc/clamav
# - appwrite-clamav-data:/var/lib/clamav
# - appwrite-uploads:/storage/uploads
influxdb:
@@ -853,3 +867,5 @@ volumes:
appwrite-config:
appwrite-executor:
# appwrite-chronograf:
# appwrite-clamav-conf:
# appwrite-clamav-data: