Hello guys, I’m looking to make my life easier…
I think this might interest you…
I have a multiple container installation or structure behind a reverse proxy container…
The containers behind the reverse proxy are apache + php containers… which can host more than one project through vhost.
The problem I am facing is:
- I would like to manage (install, remove, update) PHP extensions from a graphical web interface, similar to this:
Note: I haven’t found anything to help me install CPanel inside PHP containers to manage extensions for each project’s sites.
- Save configuration (disable/enable extensions) per project: “site-enable” / VHost.
If you know of any web/graphic interface that helps me achieve this, tell me.
This would be the hypothetical structure that I am implementing:
Docker Network
│
└── Proxy Server Container: Manage Custom URL like https://test.dock
├── MySql Server
├── PhpMyadmin
├── php 7.2
├── php 8.2
├── PhpMyadmin
├── Project 1 server: code repository (API Point to php 7.2)
├── Project 2 server: code repository (API Point to php 8.2)
├── Project 3 server: code repository (Laravel Project Point to php 7.2)
└── Project 4 server: code repository (Synfony Project Point to php 8.2)
In the previous ypothetical structure you can see that I have two containers, one with PHP 7.2 and the other with 8.2, the idea is to manage the extensions individually in each container, this should be achieved by entering the urls: https://ext.7.2.dock and https: //ext.8.2.dock
When you go to https://ext.7.2.dock you should be able to see two projects/sites:
- API-Project-7.2
- Laravel-Project-7.2
At this point API-Proyect-7.2 and Laravel-Proyect-7.2 in theory are being executed by the PHP-7.2 container through the vhost implementation… the problem is that even though the php-7.2 container has all the extensions… not all of them must be enabled or they will be the same for API-Proyect-7.2 and Laravel-Proyect-7.2

