• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Question Run Openlitespeed on Docker Container

Carbonzxc

New Pleskian
Hello,

Im using Lightsail with Ubuntu 20.04.3 LTS Plesk installed. Since theres no still openlitespeed support for plesk, i tried to run with docker but no chance. Anyone succeed on that? I dont want to use any other control panel like cyberpanel, aapanel etc. for openlitespeed because plesk is really fine but i need openlitespeed+lsphp insteaf of nginx+php-fpm for my websites which i believe openlitespeed is better.
 
Carbon, have you any news? I coming from OpenLiteSpeed, and I must say the Nginx proxy is good (with OLS have TTFB 150-200ms and with Nginx 80-130ms), but only for cached html pages from WP Rocket. When need power process, then Apache dying. OLS no have problem with ultra-heavy loads (like WP All Import Pro with 200k and more products updating).
So Nginx with Apache is good, but I need more better.
 
Carbon, have you any news? I coming from OpenLiteSpeed, and I must say the Nginx proxy is good (with OLS have TTFB 150-200ms and with Nginx 80-130ms), but only for cached html pages from WP Rocket. When need power process, then Apache dying. OLS no have problem with ultra-heavy loads (like WP All Import Pro with 200k and more products updating).
So Nginx with Apache is good, but I need more better.
nothing new sadly..
 
I was able to get this Docker Running and access Litespeed 404 Page on a domain. Also access the OpenLiteSpeed WebAdmin Console.

I will update with you my finding soon.
 
I tried this.. Seems not worth it. Many complexities.

I was able to get a demo WP site running. Also didn't notice much performance difference.

With Varnish, I could see really good performance. (I'm not comparing to NGINX cache. I really haven't used it. We use Varnish for Magento. So I tried on WP)
 
I tried this.. Seems not worth it. Many complexities.

I was able to get a demo WP site running. Also didn't notice much performance difference.

With Varnish, I could see really good performance. (I'm not comparing to NGINX cache. I really haven't used it. We use Varnish for Magento. So I tried on WP)
Thanks for update
 
You can try to run this docker,

Code:
docker run -d --name openlitespeed --link mysql8 -v /var/www/vhosts/DomainName.TLD/httpdocs/openlite:/var/www/vhosts/localhost/html -p 32782:7080 -p 32783:80 -p 32784:443 -it litespeedtech/openlitespeed:latest

--link mysql8 - This is an another docker I'm running. Reason for this link is when running WP in this openlitespeed Docker, It is having trouble connection to the localhost or 127.0.0.1 databases. By linking, we can use mysql8:3307(Port in mysql docker) in the wp-config.php as the database host. There might be better way to do this such as network_mode host. I didn't get to try them.

-v /var/www/vhosts/DomainName.TLD/httpdocs/openlite:/var/www/vhosts/localhost/html - Volume Mapping. Mapping the httpdocs doesnt work due to permission of the httpdocs directory

You can add 32783:80 to the Docker Proxy Rules of the Subscription,

You should be able to access the WebAdmin with DomainName.TLD:32782 (Username - admin, Password 123456)
 
Back
Top