-
Notifications
You must be signed in to change notification settings - Fork 5.9k
How to change the password #548
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
Comments
If you're using the binary, the latest version of code-server allows you to set an environment variable PASSWORD
If you're using docker, you can use the -e flag to pass environment variables to your container
If you're using older versions, you can use the --password argument.
You can find the documentation here: |
@mbayabo Why add the parameter of --no-auth? |
You actually don't need that, sorry. |
Using the |
If you're using the newest release, the --password argument has been deprecated. It won't work anymore. You need to set an environment variable called PASSWORD. export PASSWORD="yourpassword" |
@mbayabo Thanks! That works for me! |
This should be added to the self-hosted guide. Do we want to do that as a new issue? |
If you actually read the self-hosted guide you would have seen it's already in there bro... |
I must be missing where it says the updated details about environment variables that were introduced in |
My bad, I thought you were talking about the old method of setting passwords |
no worries |
We probably should add it as an issue. |
how to disable password when i use docker |
Something like:
|
How can I change the password used to authenticate into code-server?
The text was updated successfully, but these errors were encountered: