Coder Social home page Coder Social logo

Comments (5)

noogen avatar noogen commented on June 10, 2024

To do something like that, you can try looking at dokku; but you should build your own Vesta docker image. My image just have too much stuff in there to be efficient for dokku. You almost don't need VestaCP at that point.

Due to IP and ports limitation, the best way to do it is at the Vesta code level. But unlike cPanel, VestaCP currently does not have this kind of support natively. It is also out of the scope of this project.

from vestacp.

michacassola avatar michacassola commented on June 10, 2024

Thank you very much!

What stuff should I leave out for dokku so my image would be efficient?

What do you mean by: "You almost don't need VestaCP at that point."?
Does dokku have a panel that I can use to easily make RAM/CPU/Bandwidth-separated Wordpress Instances?

The part about IP/Port limitations I do not understand.

from vestacp.

noogen avatar noogen commented on June 10, 2024

What stuff should I leave out for dokku so my image would be efficient?

A lot of it. Pretty much just bare VestaCP.

What do you mean by: "You almost don't need VestaCP at that point."?

See my explanation in IP/Port limitations.

Does dokku have a panel that I can use to easily make RAM/CPU/Bandwidth-separated Wordpress Instances?

dokku basically proxy the front-end with nginx to your backend docker. All your RAM/CPU is set in docker https://docs.docker.com/engine/admin/resource_constraints/. Bandwidth is set in VestaCP.

IP/Port limitations.

VestaCP is not only a webserver. You also have DNS, email, and all sort of other things that requires specific port to be available. Your single IP limitation would become an issue, especially more complicated when SSL is involved.

At this point, it's either VestaCP does it natively in code or you implement your own proxy docker base on host header. Example: https://github.com/dlundquist/sniproxy

And if you're doing the sniproxy route, You might as well drop Vesta since dokku already have strategy to create PaaS setup like you want. You have to read up more on doing it the dokku way.

Basically, it is a lot of work to either use (dokku + custom proxy) or wait for Vesta to implement it. You're better off using cPanel as it already does what you want.

from vestacp.

noogen avatar noogen commented on June 10, 2024

What I'm saying is that the route you want to do will actually result in a lot more maintenance and headache when additional VPS is actually pretty cheap @ only $5/month: https://www.linode.com/pricing

from vestacp.

michacassola avatar michacassola commented on June 10, 2024

Thank you again for you great answers!

I found a host where they give you an unbeliavable amount of resources for not too much but also not so little that it will fit for my smaller plans. Their smallest VPS is already huge.
And I thought a containerized layer will also maybe give more security...

But you are right I should keep it more simple.
Maybe I'll look into dokku more.

from vestacp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.