• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Question Docker Proxy for a LAMP container

super_tron

New Pleskian
Hi,

I have one large legacy application that no one has the time and money to rewrite. It is behind authentification and not a security risk. Now I run newest Plesk but need to have PHP 5.6 in a LAMP stack.

So I try it with this docker image or similar: jakejarvis/docker-lamp-php5
It works well, but when I disable automatically assign ports I cannot select the application in the "Docker Proxy" form.

The container exposes Port 80 and Port 3306 standardports and I simply wanted to serve this on a separate domain.

The problem is exactly this one here: Not possible to add Docker Proxy rules, no container is displayed
But the solution from that discussion to expose the ports is already realized in this docker container.

"Looks like the container you using has "Expose" option. Docker image used to deploy the container does not have "Expose" option or the required port is not exposed.
Plesk allows mapping ports that are exposed only."


Does anyone please know what to do or can recommend another docker container, that does what I need.
 
Then I tried this image: phpdockerio/php56-fpm
Here the selection works, I would like to know the difference.

However it is still not possible to route the service to Port 80 or 443 because that ports are already taken.
When I route it to 8080 I only get an error, but this error might be a problem in the docker image.

Is it at all possible to have a LAMP dockerimage routed to 80/443?
Which image do you suggest and how to do it?
 
Back
Top