init
Some checks failed
Build Backend / Build image (push) Failing after 8s

This commit is contained in:
2026-03-12 16:24:25 +07:00
commit c88afc7871
13 changed files with 236 additions and 0 deletions

47
README.md Normal file
View File

@@ -0,0 +1,47 @@
# ClamAV-Mirror
This is a Docker Image for a lightweight containerized ClamAV Mirror using [CVD-Update](https://github.com/Cisco-Talos/cvdupdate) and [Caddy](https://github.com/caddyserver/caddy). This image uses Alpine to minimize the image size and unnecessary bloat.
## Dependencies
- Docker
## Quick Start Guide
Run the following commands to build and run the clamav-mirror Docker image locally.
### Build
```sh
docker build . --file Dockerfile --tag clamav-mirror:latest
```
### Run (Ephemeral)
```sh
docker compose up -d
```
### Manual update ClamAV Database definitions
```sh
docker exec -it clamav-mirror ./entrypoint.sh update
```
### Cron
Docker update automate and run always one day, but you may change it in .env file
## ClamAV Configuration
Once you have the mirror running, you can visit <http://localhost:8080> to see what files are hosted by this server. You can then point any of your ClamAV instances to use this mirror instead by changing the following in your `freshclam.conf` file:
```txt
DatabaseMirror http://localhost:8080
```
##### Author
- **Vassiliy Yegorov** [vasyakrg](https://github.com/vasyakrg)
- [site](https://realmanual.ru)
- [youtube](https://youtube.com/realmanual)
- [telegram](https://t.me/realmanual_group)