docs: improve ClamAV docs
This commit is contained in:
@@ -4,11 +4,29 @@ id: integrations
|
||||
|
||||
# Integrations
|
||||
|
||||
#### ClamAV (Docker only)
|
||||
#### ClamAV
|
||||
|
||||
> **_NOTE:_** Currently ClamAV is only available in the Docker installation.
|
||||
|
||||
ClamAV is used to scan shares for malicious files and remove them if found.
|
||||
|
||||
1. Add the ClamAV container to the Docker Compose stack (see `docker-compose.yml`) and start the container.
|
||||
1. Add the ClamAV container to the Docker Compose stack and start the container.
|
||||
|
||||
```diff
|
||||
services:
|
||||
pingvin-share:
|
||||
image: stonith404/pingvin-share
|
||||
...
|
||||
+ depends_on:
|
||||
+ clamav:
|
||||
+ condition: service_healthy
|
||||
|
||||
+ clamav:
|
||||
+ restart: unless-stopped
|
||||
+ image: clamav/clamav
|
||||
|
||||
```
|
||||
|
||||
2. Docker will wait for ClamAV to start before starting Pingvin Share. This may take a minute or two.
|
||||
3. The Pingvin Share logs should now log "ClamAV is active"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user