ajilach / clamav-rest

ClamAV virus/malware scanner with REST API
https://hub.docker.com/r/ajilaag/clamav-rest
MIT License
40 stars 24 forks source link

Enable configuration of PORT and SSL_PORT #14

Closed rahearn closed 1 year ago

rahearn commented 1 year ago

For our use-case, we need to be able to listen on port 8080 instead of 9000. This change enables that while leaving default behavior almost completely unchanged.

If we were running entirely in docker, we could have done this with -p 8080:9000 but our environment actually unpacks the docker image and repacks it in another buildpack, so we can't use the -p flag and instead have to rely on $PORT

rahearn commented 1 year ago

Converting this to draft as I work out some issues with this implementation with our provider.