Skip to content

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

Closed
wants to merge 7 commits into from
Closed

Added Password updates to the self hosted index.md #625

wants to merge 7 commits into from

Conversation

ntindle
Copy link

@ntindle ntindle commented May 1, 2019

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

Added Password updates to the self hosted index.md. See issue #548 for the documentation. Resolves #624 .
Copy link

@kirintwn kirintwn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

ntindle and others added 2 commits May 10, 2019 17:48
Fix Triple ‘s
@deansheather
Copy link
Member

Closes #548

Copy link
Author

@ntindle ntindle left a 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
```
Copy link
Member

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.
Copy link
Member

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
Copy link
Member

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`
Copy link
Member

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.

@ntindle
Copy link
Author

ntindle commented Aug 27, 2019

I no longer have time to fix these and I’ve stopped following the project. Closing pull request.

@ntindle ntindle closed this Aug 27, 2019
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 this pull request may close these issues.

Document how to change password with environment variable
7 participants