-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Added Password updates to the self hosted index.md #625
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Co-Authored-By: Sergio Moura <[email protected]>
Fix Triple ‘s
Closes #548 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FIxed those issues. Sorry it took so long, life got in the way
``` | ||
export PASSWORD="yourpassword" | ||
./code-server --allow-http | ||
``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There should be a newline after this codeblock if there's one above it.
--disable-telemetry Disables ALL telemetry. | ||
--help output usage information | ||
``` | ||
|
||
### Password | ||
Since version 1.903-vsc1.33.1, code-server allows you to set an environment variable PASSWORD. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Version and PASSWORD should be in backticks
.
export PASSWORD="yourpassword" | ||
./code-server --allow-http | ||
``` | ||
If you're using docker, you can use the -e flag to pass environment variables to your container |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
-e
should be in backticks, and this line should end in a fullstop or colon.
``` | ||
If you're using docker, you can use the -e flag to pass environment variables to your container | ||
|
||
`docker run -it -p 127.0.0.1:8443:8443 -e PASSWORD='yourpassword' -v "${PWD}:/home/coder/project" codercom/code-server --allow-http` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be a codeblock instead of just backticks since it's a long command.
I no longer have time to fix these and I’ve stopped following the project. Closing pull request. |
Added Password updates to the self hosted index.md. See issue #548 for the documentation. Resolves #624 .
Describe in detail the problem you had and how this PR fixes it
Inadequate documentation of the environment variable change in 1.903-vsc1.33.1.
Is there an open issue you can link to?
#624 and #417