Skip to content

One-click deploy to app platforms (Heroku, Railway, fly.io, AWS ECS, Google Cloud Run) #1554

Closed

Description

@bpmct

Note: This will be fairly simple, but requires the repo to be public.

What is your suggestion?

Create one click apps to deploy the ghcr.io/coder/coder container image to cloud app platforms. Most of these services provide a domain, postgres instance, and allow you to configure env vars so it can be a "one-click" experience to have a production-ready deployment of Coder.

Why do you want this feature?

Quick way to use Coder in prod and test with other users.

Are there any workarounds to get this functionality today?

Users create their own "deploy" repos or manually deploy the container to the app platform

Are you interested in submitting a PR for this?

Yes

Activity

  1. self-assigned this
    on May 18, 2022
  2. bpmct commented on May 18, 2022

    @bpmct
    MemberAuthor

    @misskniss this is "blocked" until the repo is public, but I intend on doing it within ~4 hours of it being so. Is there any way to indicate this?

  3. im-coder-lg commented on May 18, 2022

    @im-coder-lg
    Contributor

    I have tried this idea(accessing private repos via cli, and since Docker runs commands on CLI, it could very well be the same), trying to get the Coder tarball via wget. It failed since the repo isn't publicly accessible. Only users with read access can do so, hence if this has to work, we have to proxy the release assets or go public. Maybe why not add this after Coder FOSS or Coder V2 is public?

  4. bpmct commented on May 18, 2022

    @bpmct
    MemberAuthor

    I have tried this idea(accessing private repos via cli, and since Docker runs commands on CLI, it could very well be the same), trying to get the Coder tarball via wget. It failed since the repo isn't publicly accessible. Only users with read access can do so, hence if this has to work, we have to proxy the release assets or go public. Maybe why not add this after Coder FOSS or Coder V2 is public?

    @im-coder-lg Yeah, we're gonna wait until it's public. Our container image is currently public so if you wanted to personally deploy beforehand, you can. You may need to make a repo with Dockerfile:

    FROM ghcr.io/coder/coder:v0.5.10
    
    # nothing else required
    

    If you need to transfer the binary to the machine, you can of course scp or use something like https://transfer.sh

  5. added this to the Community MVP milestone on May 18, 2022
  6. changed the title [-]Feat: one-click deploy to app platforms (Heroku, Railway, fly.io, AWS ECS, Google Cloud Run)[/-] [+]One-click deploy to app platforms (Heroku, Railway, fly.io, AWS ECS, Google Cloud Run)[/+] on Jun 7, 2022
  7. tjcran commented on Jul 12, 2022

    @tjcran

    @bpmct i think this would work with the DigitalOcean app platform as well.

  8. matifali commented on Jul 7, 2023

    @matifali
    Contributor

    related to #7257

  9. matifali commented on Oct 13, 2023

    @matifali
    Contributor

    We have all of them now in https://github.com/coder/packages

  10. assigned and unassigned on Oct 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

apiArea: HTTP API

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions