Skip to content
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

Implement "Deploy to Caprover" when configuring project #3909

Open
oelegeirnaert opened this issue Oct 19, 2022 · 4 comments
Open

Implement "Deploy to Caprover" when configuring project #3909

oelegeirnaert opened this issue Oct 19, 2022 · 4 comments

Comments

@oelegeirnaert
Copy link

Description

What are you proposing? How should it be implemented?
Wouldn't it be nice if Cookiecutter is able to generate the files for a deploy to caprover by using Caprover variables:
https://github.com/caprover/one-click-apps

Rationale

Because whenever using Django Cookiecutter, we already have a function to "Deploy to Heroku" why not making a list of it with the following options:

Deploy to:

  • Heroku
  • Caprover

That would be awesome!

Btw: Caprover is also available as a Weblet in ThreeFold (a decentralized Infrastructure as a Service)
https://library.threefold.me/info/manual/#/manual__weblets_caprover

@browniebroke
Copy link
Member

browniebroke commented Oct 20, 2022

I've never heard of CapRover before, it sounds really interesting!

The PaaS offering is changing these days, Heroku used to be an obvious choice, thanks to their free tier and developer experience. With their recent announcement to scrape the free tier , I'm wondering how easy it would be to keep maintaining support for it: if we need to test deployment to Heroku, we now have to pay for it. At the same time, there are several great commerical alternatives.

From what I can see, CapRover seems different from all these by being open source, is that correct? Do they offer this as a service or do you have to host it yourself?

We could add CapRover, but I think that it might open the door for us to support each PaaS, with their own specific files. One could argue by having Heroku support, we're already opening the door to adding more, though 😄

With all that being said, maybe it's time to drop support for Heroku and be "PaaS agnostic"?

@oelegeirnaert
Copy link
Author

Hi @browniebroke ,
Thanks for your quick answer and your enthousiasm.
I discovered Heroku by using CookieCutter and went with the free plan but it's very limited, because I could only launch like (i think) 3 workers wich was not enough for my Proof On Concept.
That's why I was looking for other easy, cheap and scalable (and possibly decentrelized) deployment solutions, and this is how I came in contact with CapRover (on ThreeFold) but in the meantime I also installed an instance on my local machine.

That's how my question arose to implement a CapRover option into the deployment options.

Technically it would already be possible to use Django CookieCutter, but it will require some creation/modification of files, thus less attractive for newcomers.

I would be very, very happy to see such "Paas" agnostic approach.
I'm also willing to assist whenever you need my help.

Kind Regards,
Oele

@charleshan
Copy link
Contributor

charleshan commented Jul 1, 2023

Did you have a chance to look into this?

I'm thinking that maybe we could use docker-compose to build docker images with Github Action and push the images to CapRover.

https://github.com/marketplace/actions/deploy-github-repo-to-caprover

@Afrowave
Copy link
Contributor

Afrowave commented Jul 1, 2023

Thank you @charleshan,

That is a pretty good plan.

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

No branches or pull requests

4 participants