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

commandline port configuration #15

Closed
brackxm opened this issue Oct 10, 2014 · 3 comments · Fixed by #16
Closed

commandline port configuration #15

brackxm opened this issue Oct 10, 2014 · 3 comments · Fixed by #16

Comments

@brackxm
Copy link

brackxm commented Oct 10, 2014

Allow setting port (or all configuration) via commandline.
Example use case: setting the port for running on heroku.
For example this could be done via environment variables or system properties.

S3PROXY_PORT=8080 java -jar s3proxy --properties s3proxy.conf
java -Ds3proxy.port=8080 -jar s3proxy --properties s3proxy.conf
@gaul
Copy link
Owner

gaul commented Oct 10, 2014

@brackxm Does #16 address your request? You can override the local endpoint with:

java -Ds3proxy.endpoint=http://127.0.0.1:9090 -jar path/to/s3proxy --properties path/to/conf

@brackxm
Copy link
Author

brackxm commented Oct 10, 2014

Yes, it does.
Thanks

@gaul gaul closed this as completed in #16 Oct 10, 2014
@gaul
Copy link
Owner

gaul commented Oct 10, 2014

I will include this fix with with S3Proxy 1.2.0. Presently waiting on jclouds 1.8.1 which should release in a week or two.

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

Successfully merging a pull request may close this issue.

2 participants