Skip to content

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

Closed
@ghuntley

Description

@ghuntley

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

Activity

bpmct

bpmct commented on Oct 10, 2022

@bpmct
Member

related #3518

bpmct

bpmct commented on Oct 10, 2022

@bpmct
Member

@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

bpmct commented on Oct 17, 2022

@bpmct
Member

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

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsArea: coder.com/docs

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

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