ONMY is OpenLiteSpeed, Nginx Proxy Manager (NPM), MariaDB, and Yacht stack. This is set of docker images for secure and fast website. ONMY can deploy on any Linux OS that support Docker and Docker-Compose.
The docker image installs the following packages on your system:
Component | Version |
---|---|
Linux | Ubuntu 20.04 |
OpenLiteSpeed | Latest version |
MariaDB | Stable version: 10.5 |
PHP | Latest version |
LiteSpeed Cache | Latest from WordPress.org |
phpMyAdmin | Latest from dockerhub |
Yacht | Latest from dockerhub |
Start the container with the up
or start
methods:
docker-compose up
You can run with daemon mode, like so:
docker-compose up -d
The container is now built and running.
docker-compose stop
To stop and remove all containers, use the down
command:
docker-compose down
We strongly recommend you set your personal password right away.
bash bin/webadmin.sh my_password
You need to add the reverse proxy if you not exposing the port by visiting http://domain.com:81
and login with
username: admin@example.com
password: changeme
Services | Hostname | Availabel Port | External Docs |
---|---|---|---|
OpenLiteSpeed | litespeed |
80 , 443 , and 7080 |
https://openlitespeed.org/kb/ |
Nginx Proxy Manager Admin | localhost |
81 |
https://nginxproxymanager.com/guide/ |
phpMyAdmin | phpmyadmin |
8443 |
https://www.phpmyadmin.net/docs/ |
Yacht | yacht |
8000 |
https://yacht.sh/docs/ |
-- example domain: domain.com.
- Create reverse proxy on NPM point from
domain.com
tolitespeed
port80
and create and enable SSL Certificate. - Create
domain.com
directory under Sites. - Copy your site data to
sites/domain.com
- Go to LiteSpeed Web Admin and go to VHost Templates -> docker -> Member Virtual Hosts tab and click + .
- Enter your the information
Virtual Host Name:
domain.com
Domain Name:domain.com
Domain Aliases:www.domain.com
(optional) - Save and Initiate the template.
- Perform a graceful restart to apply the changes. Extra docs:
- https://openlitespeed.org/kb/ols-web-admin-console
- https://openlitespeed.org/kb/
- https://www.itzgeek.com/how-tos/linux/how-to-create-virtual-hosts-in-openlitespeed-web-server.html
You can manage your container using Yacht. Create a reverse proxy to yacht
port 8000
and login using
username: admin@yacht.local
password: pass
you can protect this service using nginx proxy manager access list.
To upgrade the web server to latest stable version, run the following:
bash bin/webadmin.sh [-U, --upgrade]
Enable OWASP mod_secure
on the web server:
bash bin/webadmin.sh [-M, --mod-secure] enable
Disable OWASP mod_secure
on the web server:
bash bin/webadmin.sh [-M, --mod-secure] disable
Please ignore ModSecurity warnings from the server. They happen if some of the rules are not supported by the server.
If you discover any security vulnerability or any bug within ONMY Stack, please open an issue.
- Fork it (https://github.com/salvacmp/onmystack/fork) -Create your feature branch (git checkout -b my-new-feature) or fix issue (git checkout -b fix-some-issue)
- Commit your changes (git commit -am 'Add some feature') or (git commit -am 'Fix some issue')
- Push to the branch (git push origin my-new-feature) or (git push origin fix-some-issue)
- Create a new Pull Request
- GitHub Workflows will be run to make sure that your changes does not have errors or warning