Skip to content

[docs]: examples of exposing coder provisioner endpoint w/SSL [via Caddy?] #4440

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
ghuntley opened this issue Oct 10, 2022 · 3 comments
Closed
Labels
docs Area: coder.com/docs

Comments

@ghuntley
Copy link
Contributor

ghuntley commented Oct 10, 2022

thoughts

💭 Coder needs a "Configure" documentation page similar to:

goals

  • a zero-knowledge assumed tutorial (such as done by digital ocean) that provides examples of configuring CODER_ACCESS_URL

topics

  • ensuring DNS records pointing to an accessible IP address (either public, lan or tailnet)
  • introduction to letsencrypt and caddy
  • example of caddy (thus letsencrypt) + coder that folks can copy/paste to their way to success

scenarios

  • simple /r/homelab scenario
  • production scenarios that are more complex such as k8 ingress.

considerations

references

Ensure you have an externally-reachable CODER_ACCESS_URL set in your helm chart. If you do not have a domain set up, this should be the IP address of Coder's LoadBalancer (kubectl get svc -n coder).

https://coder.com/docs/coder-oss/latest/install/kubernetes#kubernetes-based-workspace-is-stuck-in-connecting

Set CODER_ACCESS_URL to the external URL that users and workspaces will use to connect to Coder. This is not required if you are using the tunnel. Learn more about Coder's configuration options.

https://coder.com/docs/coder-oss/latest/install/packages

CODER_ACCESS_URL is required if you are not using the tunnel. Set this to the external URL that users and workspaces use to connect to Coder (e.g. https://coder.example.com/). This should not be localhost.

https://coder.com/docs/coder-oss/latest/admin/configure#access-url

@ghuntley ghuntley added docs Area: coder.com/docs simple labels Oct 10, 2022
@bpmct
Copy link
Member

bpmct commented Oct 10, 2022

related #3518

@bpmct
Copy link
Member

bpmct commented Oct 10, 2022

@ghuntley I was planning on doing this later this week but haven't started yet. Feel free to grab #3518 from me or just this one if you had something different in mind.

@bpmct
Copy link
Member

bpmct commented Oct 17, 2022

Going to close this in favor of #3518. I've also created a PR with a full Caddy example in #4585.

@bpmct bpmct closed this as completed Oct 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Area: coder.com/docs
Projects
None yet
Development

No branches or pull requests

2 participants