Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

environment variables #16

Open
thdotnet opened this issue May 15, 2018 · 2 comments
Open

environment variables #16

thdotnet opened this issue May 15, 2018 · 2 comments

Comments

@thdotnet
Copy link

Hi,

is there a way to set clamd.hostname without editing the .java file? (e.g. using environment variables)

@sekrett
Copy link

sekrett commented Jul 23, 2018

@philliptaylorpro
Copy link

You can export the variables CLAMD_HOST, CLAMD_PORT and MAXSIZE like this:

docker run -e "CLAMD_HOST=172.17.0.2" -e "CLAMD_PORT=3310" -e "MAXSIZE=100000" clamav-rest

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants