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

Being able to add Command Line Arguments as Environment Variables for docker version #122

Closed
AuthorShin opened this issue Nov 27, 2022 · 6 comments

Comments

@AuthorShin
Copy link

Hello
That would be very great and super easy for everyone if you consider adding an option to be able to add Command Line Arguments as Environment Variables for docker version.

@PerchunPak
Copy link

It's already implemented. You can use MICROBIN_BIND=0.0.0.0 for --bind 0.0.0.0 or MICROBIN_PRIVATE=true for --private.

@AuthorShin
Copy link
Author

@PerchunPak Thank you for the answer, where can I find the full list/guide?

@PerchunPak
Copy link

Just look at text in brackets in docs. And do not forget append to every key MICROBIN_ prefix, so if you see AUTH_USERNAME actual environment variable would be MICROBIN_AUTH_USERNAME=some_value.

@AuthorShin
Copy link
Author

Thanks a lot mate, highly appreciated.

@PerchunPak
Copy link

NP, please close this, as it seems like resolved.

@timdonovanuk
Copy link

timdonovanuk commented Oct 24, 2023

Might want to update the URL here, as it's broken. And the documentation does not make it clear that the command line arguments are not actually what is documented on the page:

https://microbin.eu/docs/installation-and-configuration/configuration

MICROBIN_BASIC_AUTH_USERNAME is actually --basic_auth_username etc.

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