dutchcoders / dutchcoders/transfer.sh

unable to define clamav-host correctly

Open
#595 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
15.9k
Forks
1.6k
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.