🐞 Add antivirus inside Twake Drive (#725)
🐞 Add antivirus inside Twake Drive (#725)
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user