mirror of
https://github.com/dutchcoders/transfer.sh.git
synced 2026-02-06 07:22:17 +00:00
unable to define clamav-host correctly #41
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @zenjabba on GitHub.
In my docker-compose I'm using the following line
command: "--listener :8080 --provider local --basedir /basedir --purge-days 10 --purge-interval 2 --max-upload-size 10000000 --clamav-host nextav --perform-clamav-prescan true"
but when I upload a file I'm getting
2023-12-20T19:51:00.535764246Z [transfer.sh]2023/12/20 19:51:00 dial unix nextav: connect: no such file or directory
I have clamav within the docker-compose
av:
image: mkodockx/docker-clamav:alpine
container_name: nextav
hostname: nextav
restart: unless-stopped
volumes:
- /opt/docker/clamav:/var/lib/clamav
- /var/run/clamav/:/var/run/clamav/
but not sure how to actually link up transfer with clamav as the hostname issue seems to causing me lots of problems.
Thanks
@paolafrancesca commented on GitHub:
hi @zenjabba support for clamav scan over the network was removed with https://github.com/dutchcoders/transfer.sh/pull/389, introducing the possibility to enbale clamav scan on upload
I apologise, the
--clamav-hostflag has not being renamed to--clamav-path, but it only supports a path nowPlease let me know if you need any help in sharing the path between containers in your docker-compose file