Movatterモバイル変換


[0]ホーム

URL:


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

feat: Add tunnel by default#4399

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
kylecarbs merged 7 commits intomainfromtunneldefault
Oct 7, 2022
Merged

feat: Add tunnel by default#4399

kylecarbs merged 7 commits intomainfromtunneldefault
Oct 7, 2022

Conversation

kylecarbs
Copy link
Member

If an access URL is not specified, we will always tunnel.

This is from community-member feedback who exclaimed that it's confusing having the default forcoder server display a warning message, and I agree.

There is very little (maybe none) in runningcoder server without tunnel and without an access URL, so this seems like overall a much better UX.

endingwithali and bpmct reacted with thumbs up emoji
@kylecarbskylecarbs self-assigned thisOct 6, 2022
@@ -127,6 +129,7 @@ func TestServer(t *testing.T) {
"server",
"--in-memory",
"--address", ":0",
"--access-url", "example.com",
"--access-url", "localhost:3000/",
Copy link
Member

Choose a reason for hiding this comment

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

Why provideaccess-url twice?

Copy link
MemberAuthor

Choose a reason for hiding this comment

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

Just an accident

@ammario
Copy link
Member

(cc@endingwithali this affects docs)

endingwithali reacted with thumbs up emoji

If an access URL is not specified, we will always tunnel.This is from community-member feedback who exclaimed thatit's confusing having the default for `coder server` displaya warning message, and I agree.There is very little (maybe none) in running `coder server`without tunnel and without an access URL, so this seems likeoverall a much better UX.
@endingwithali
Copy link
Contributor

endingwithali commentedOct 6, 2022
edited
Loading

yes! auto setting tunnel is a great idea. :)

to 100% clarify - when running coder without an access url, you wont need to edit coder.env before running coder
?

bpmct and kylecarbs reacted with thumbs up emoji

@f0ssel
Copy link
Contributor

Great change 👍

@@ -4,7 +4,7 @@ You can install and run Coder using the official Docker images published on [Git

Docker is required. See the [official installation documentation](https://docs.docker.com/install/).

## Run Coder with built-in database and tunnel (quick)
## Run Coder withthebuilt-in database (quick)
Copy link
Member

Choose a reason for hiding this comment

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

Let's still mention we're using the tunnel here, both are configured here based on the lack of flags.

@ammario
Copy link
Member

I assume this change won't break existing deployments?

kylecarbsand others added2 commitsOctober 6, 2022 16:47
Co-authored-by: Ben Potter <ben@coder.com>
Co-authored-by: Ben Potter <ben@coder.com>
@kylecarbs
Copy link
MemberAuthor

kylecarbs commentedOct 6, 2022
edited
Loading

@ammario it won'tunless they aren't specifying an access URL, but even then it won't break them unless they are air-gapped and the tunnel will fail with a message indicating that an access URL should be specified.

bpmct reacted with thumbs up emoji

@kylecarbskylecarbs requested a review froma team as acode ownerOctober 7, 2022 01:42
@kylecarbskylecarbs requested review fromcode-asher and removed request fora teamOctober 7, 2022 01:42
@kylecarbskylecarbs merged commit3cc77d9 intomainOct 7, 2022
@kylecarbskylecarbs deleted the tunneldefault branchOctober 7, 2022 13:05
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@ammarioammarioammario approved these changes

@bpmctbpmctbpmct approved these changes

@code-ashercode-asherAwaiting requested review from code-ashercode-asher was automatically assigned from coder/ts

Assignees

@kylecarbskylecarbs

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

5 participants
@kylecarbs@ammario@endingwithali@f0ssel@bpmct

[8]ページ先頭

©2009-2025 Movatter.jp