mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
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:
@@ -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
@@ -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:
|
||||
Reference in New Issue
Block a user