You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To install ClamAV, include `clamav.yml` in the `COMPOSE_FILE` variable within your `.env` file. This instructs Docker to download the required images for ClamAV.
6
+
7
+
Simply copy and paste (:material-content-copy:) the following code into your command line:
8
+
9
+
```bash
10
+
sed -i "s/COMPOSE_FILE='\(.*\)'/COMPOSE_FILE='\1,clamav.yml'/" /opt/seatable-compose/.env
11
+
```
12
+
13
+
### Modify dtable-events.conf
14
+
15
+
Add the following statements to dtable-events.conf
16
+
17
+
```conf
18
+
[VIRUS SCAN]
19
+
enabled = true
20
+
scan_command = clamdscan
21
+
virus_code = 1
22
+
nonvirus_code = 0
23
+
scan_interval = 5
24
+
scan_size_limit = 20
25
+
threads = 2
26
+
```
27
+
28
+
### Download ClamAV and restart
29
+
30
+
One more step is necessary to download the ClamAV container and restart the SeaTable service.
31
+
32
+
```bash
33
+
cd /opt/seatable-compose
34
+
docker compose down
35
+
docker compose up -d
36
+
```
37
+
38
+
Wait some minutes until ClamAV finished initializing.
0 commit comments