Skip to content

Use coder tunnel in production #1176

Closed
Closed
@bpmct

Description

@bpmct

What is your suggestion?

Ability to use the https://hardcore-saha2.try.coder.app domains (including wildcards for dev URLs) without the in-memory DB. Currently, you have to use coder start --dev which is not suited for production use

For example:

CODER_PG_CONNECTION_URL=postgresql://... coder start --tunnel

    ▄█▀    ▀█▄
     ▄▄ ▀▀▀  █▌   ██▀▀█▄          ▐█
 ▄▄██▀▀█▄▄▄  ██  ██      █▀▀█ ▐█▀▀██ ▄█▀▀█ █▀▀
█▌   ▄▌   ▐█ █▌  ▀█▄▄▄█▌ █  █ ▐█  ██ ██▀▀  █
     ██████▀▄█    ▀▀▀▀   ▀▀▀▀  ▀▀▀▀▀  ▀▀▀▀ ▀
     
coder_1     |   > Started in  production  mode. All data is stored in the 
coder_1     |   PostgreSQL provided! Press  ctrl+c  to gracefully         
coder_1     |   shutdown.                                                 
coder_1     |                                                             
coder_1     |   > Run  coder login access-url: https://hardcore-saha2.try.coder.app  in a new        
coder_1     |   terminal to get started.   

Why do you want this feature?

This would be great to deploy Coder without owning a domain.

Are there any workarounds to get this functionality today?

ngrok or adding a custom domain

Are you interested in submitting a PR for this?

Probably not, I'm not great at go yet.

Metadata

Metadata

Assignees

No one assigned

    Labels

    apiArea: HTTP API

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions