Skip to content

Document how to use code-server with Heroku #2686

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
Grumpypjs08 opened this issue Feb 6, 2021 · 7 comments
Closed

Document how to use code-server with Heroku #2686

Grumpypjs08 opened this issue Feb 6, 2021 · 7 comments
Assignees
Labels
docs Documentation related
Milestone

Comments

@Grumpypjs08
Copy link

Heroku deploy link

@Grumpypjs08 Grumpypjs08 added the feature New user visible feature label Feb 6, 2021
@kaaax0815
Copy link

Heroku doesn't have the recommended requirements (2 Core Cpu, 1 GB Ram). You would need Standard, which there are more bang for the buck hoster then heroku

@jsjoeio
Copy link
Contributor

jsjoeio commented Feb 8, 2021

@bpmct IIRC, didn't you put something like this together?

@bpmct bpmct self-assigned this Feb 8, 2021
@bpmct
Copy link
Member

bpmct commented Feb 8, 2021

code-server will run on Heroku even though it is below the minimum requirements. Here's the WIP: https://github.com/bpmct/code-server-heroku

I don't think it should be officially supported on this repo. Here's why:

  • Volumes in Heroku do not persist, so all changes have to pushed to a git remote to prevent data loss
  • Dependencies for your development (python, java, node14, github ssh keys) need to be installed at build-time for speed and consistency. This means you need to deploy your own image, not via an existing link.

I'm slowly working on something that makes it easier to build/reconfigure a code-server image with these things, and then it can be deployed to Heroku, hopefully by the press of a button.

I will include in my awesome-code-server repo which I can link in the README/docs.

@jsjoeio jsjoeio changed the title Heroku Document how to use code-server with Heroku Feb 8, 2021
@jsjoeio jsjoeio added docs Documentation related and removed feature New user visible feature labels Feb 8, 2021
@jsjoeio
Copy link
Contributor

jsjoeio commented Feb 8, 2021

Thanks for the explanation, Ben!

I will include in my awesome-code-server repo which I can link in the README/docs.

Awesome!

Can you also add an entry to FAQ that either explains how to deploy on Heroku or links to a section in awesome-code-server with instructions?

@jsjoeio jsjoeio added this to the v3.8.2 milestone Feb 8, 2021
@bpmct
Copy link
Member

bpmct commented Feb 9, 2021

Heroku doesn't have the recommended requirements (2 Core Cpu, 1 GB Ram). You would need Standard, which there are more bang for the buck hoster then heroku

@kaaax0815 Are there any "app engines" like Heroku that make it quick to deploy a code-server containers? I know that I was experimenting with Amazon ECR and it worked pretty well.

@kaaax0815
Copy link

I use a KVM Server, because I deploy code-server in a Container with Caprover and Docker

@jsjoeio
Copy link
Contributor

jsjoeio commented Feb 24, 2021

Closing via #2729

If you still need help, please request to reopen this issue or start a QA on our Discussions board!

@jsjoeio jsjoeio closed this as completed Feb 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation related
Projects
None yet
Development

No branches or pull requests

4 participants