You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
One-click deploy to app platforms (Heroku, Railway, fly.io, AWS ECS, Google Cloud Run) #1554
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
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?
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
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
Activity
bpmct commentedon May 18, 2022
@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?
im-coder-lg commentedon May 18, 2022
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?
bpmct commentedon May 18, 2022
@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:
If you need to transfer the binary to the machine, you can of course scp or use something like https://transfer.sh
[-]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)[/+]tjcran commentedon Jul 12, 2022
@bpmct i think this would work with the DigitalOcean app platform as well.
matifali commentedon Jul 7, 2023
related to #7257
matifali commentedon Oct 13, 2023
We have all of them now in https://github.com/coder/packages