Comments (5)
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.
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.
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.
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.
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)
- Connection closed by server with exitcode 1 HOT 1
- Vesta FileManager see bad with GoogleChrome HOT 1
- 1cpu and 733m of ram - it kills the system HOT 1
- can not install and update plugin wordpress HOT 3
- iptables module did not work
- What are the supported OS? HOT 1
- Apache2 Start Failed due to Lacks of php7.1.so HOT 2
- vesta-auto-ssl exit due to invalid/default docker hostname: 845ddjgdgjd23
- letsencrypt error for alias
- phpmyadmin is 404 (not found) HOT 1
- Error in building from docker file
- Letsencrypt connections randomly fails HOT 1
- Fail2Ban Issue
- mydomain.com:5001 to mydomain.com using custom nginx.conf HOT 4
- phpmyadmin error 404 HOT 2
- arm architecture
- [Question] How to reset Apache2 Template? HOT 10
- [Feature Request] Adding WebP Support for ImageMagick
- Support Kubernetes?
- In new design (1.0.0) functionality disappeared remote backup.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vestacp.