🐞 Add antivirus inside Twake Drive (#725)

🐞 Add antivirus inside Twake Drive (#725)
This commit is contained in:
Montassar Ghanmy
2024-11-19 17:39:18 +01:00
committed by GitHub
parent cc53cd9a94
commit 00f819fb6d
49 changed files with 1341 additions and 257 deletions
+13
View File
@@ -14,6 +14,16 @@ services:
- 27017:27017
healthcheck:
test: echo 'db.runCommand("ping").ok' | mongosh localhost:27017/test --quiet
av:
image: clamav/clamav:latest
container_name: av
ports:
- 3310:3310
healthcheck:
test: ["CMD-SHELL", "echo 'PING' | nc -w 5 localhost 3310"]
interval: 30s
timeout: 10s
retries: 5
redis:
image: "redis:alpine"
@@ -79,6 +89,8 @@ services:
condition: service_healthy
mongo:
condition: service_healthy
av:
condition: service_healthy
# rabbitmq:
# condition: service_started
elasticsearch:
@@ -87,6 +99,7 @@ services:
condition: service_completed_successfully
links:
- mongo
- av
# - rabbitmq
elasticsearch: