{"id":19247925,"url":"https://github.com/litespeedtech/lsws-dockerfiles","last_synced_at":"2025-04-21T11:33:47.991Z","repository":{"id":69941997,"uuid":"158458172","full_name":"litespeedtech/lsws-dockerfiles","owner":"litespeedtech","description":"LiteSpeed Docker Files","archived":false,"fork":false,"pushed_at":"2025-03-06T13:46:26.000Z","size":35,"stargazers_count":20,"open_issues_count":0,"forks_count":7,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-01T12:54:37.211Z","etag":null,"topics":["docker","docker-image","litespeed"],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/litespeedtech.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-11-20T22:15:56.000Z","updated_at":"2025-03-11T21:32:35.000Z","dependencies_parsed_at":"2023-04-17T08:02:50.704Z","dependency_job_id":"e2642e1b-47aa-4252-b196-53a70b4d0cdd","html_url":"https://github.com/litespeedtech/lsws-dockerfiles","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/litespeedtech%2Flsws-dockerfiles","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/litespeedtech%2Flsws-dockerfiles/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/litespeedtech%2Flsws-dockerfiles/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/litespeedtech%2Flsws-dockerfiles/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/litespeedtech","download_url":"https://codeload.github.com/litespeedtech/lsws-dockerfiles/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250048103,"owners_count":21366176,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","docker-image","litespeed"],"created_at":"2024-11-09T18:05:40.948Z","updated_at":"2025-04-21T11:33:47.739Z","avatar_url":"https://github.com/litespeedtech.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LiteSpeed Docker Container\n[![Build Status](https://github.com/litespeedtech/lsws-dockerfiles/workflows/docker-build/badge.svg)](https://hub.docker.com/r/litespeedtech/litespeed)\n[![docker pulls](https://img.shields.io/docker/pulls/litespeedtech/litespeed?style=flat\u0026color=blue)](https://hub.docker.com/r/litespeedtech/litespeed) \n[\u003cimg src=\"https://img.shields.io/badge/slack-LiteSpeed-blue.svg?logo=slack\"\u003e](litespeedtech.com/slack) \n[\u003cimg src=\"https://img.shields.io/twitter/follow/litespeedtech.svg?label=Follow\u0026style=social\"\u003e](https://twitter.com/litespeedtech)\n\nInstall a lightweight LiteSpeed container using Stable version in Ubuntu 24.04 Linux.\n\n### Prerequisites\n*  [Install Docker](https://www.docker.com/)\n\n## Building Components\nThe system will regulary build LiteSpeed Latest stable version, along with the last two PHP versions.\n\n|Component|Version|\n| :-------------: | :-------------: |\n|Linux|Ubuntu 24.04|\n|LiteSpeed|[Latest stable version](https://www.litespeedtech.com/products/litespeed-web-server/download)|\n|PHP|[Latest stable version](http://rpms.litespeedtech.com/debian/)|\n\n## Usage\n### Downloading an image\nDownload the litespeed image, we can use latest for latest version\n```\ndocker pull litespeedtech/litespeed:latest\n```\nor specify the LiteSpeed version with lsphp version\n```\ndocker pull litespeedtech/litespeed:6.2.2-lsphp83\n```\n### Starting a Container\n```\ndocker run --name litespeed -p 7080:7080 -p 80:80 -p 443:443 -it litespeedtech/litespeed:latest\n```\nYou can also run with Detached mode, like so:\n```\ndocker run -d --name litespeed -p 7080:7080 -p 80:80 -p 443:443 -it litespeedtech/litespeed:latest\n```\nTip, you can get rid of `-p 7080:7080` from the command if you don’t need the web admin access.  \n\nNote: The container will auto-apply a 15-day trial license. Please contact LiteSpeed to extend the trial, or apply your own license, [starting from $0](https://www.litespeedtech.com/pricing).\n\n### Adding a sample page\nThe server should start running successfully, and you should be able to log into the container. Add some files you want to display with the following command:\n```\ndocker exec -it litespeed bash\n```\nYour default `WORKDIR` should be `/var/www/vhosts/`, since the default document root path is `/var/www/vhosts/localhost/html`. Simply add the following command to `index.php`, then we can verify it from the browser with a public server IP address on both HTTP and HTTPS. \n```\necho '\u003c?php phpinfo();' \u003e localhost/html/index.php\n```\n\n### Stopping a Container\nFeel free to substitute the \"litespeed\" to the \"Container_ID\" if you did not define any name for the container.\n```\ndocker stop litespeed\n```\n\n## Customization\nSometimes you may want to install more packages from the default image, or some other web server or PHP version which is not officially provided. You can build an image based on an existing image. Here’s how:\n  1. Download the dockerfile project \n  2. `cd` into the project directory\n  3. Edit the Dockerfile here if necessary\n  4. Build, feeling free to substitute server and PHP versions to fit your needs \n\nFor example,\n```\ngit clone https://github.com/litespeedtech/lsws-dockerfiles.git\ncd lsws-dockerfiles/template\nbash build.sh -L 6.2.2 -P lsphp83\n```\n\n## Support \u0026 Feedback\nIf you still have a question after using LiteSpeed Docker, you have a few options.\n* Join [the GoLiteSpeed Slack community](https://litespeedtech.com/slack/) for real-time discussion\n* Post to [the LiteSpeed Forums](https://www.litespeedtech.com/support/forum/) for community support\n* Reporting any issue on [Github lsws-dockerfiles](https://github.com/litespeedtech/lsws-dockerfiles/issues) project\n\n**Pull requests are always welcome** ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flitespeedtech%2Flsws-dockerfiles","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flitespeedtech%2Flsws-dockerfiles","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flitespeedtech%2Flsws-dockerfiles/lists"}