• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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