Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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
ntindle wants to merge 7 commits into coder:master from ntindle:patch-1
Closed

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

ntindle wants to merge 7 commits into coder:master from ntindle:patch-1

Conversation

Copy link

@ntindle ntindle commented May 1, 2019
edited
Loading

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
Co-Authored-By: Sergio Moura <sergio@moura.ca>
Fix Triple ‘s
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

@deansheather deansheather Jul 7, 2019

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.

```

### Password
Since version 1.903-vsc1.33.1, code-server allows you to set an environment variable PASSWORD.
Copy link
Member

@deansheather deansheather Jul 7, 2019

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

@deansheather deansheather Jul 7, 2019

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

@deansheather deansheather Jul 7, 2019

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.

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers

@code-asher code-asher code-asher requested changes

@deansheather deansheather deansheather requested changes

@kylecarbs kylecarbs Awaiting requested review from kylecarbs

+4 more reviewers

@fbartels fbartels fbartels left review comments

@lsmoura lsmoura lsmoura requested changes

@kirintwn kirintwn kirintwn approved these changes

@W0LFMAN W0LFMAN W0LFMAN approved these changes

Reviewers whose approvals may not affect merge requirements
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

Document how to change password with environment variable

AltStyle によって変換されたページ (->オリジナル) /