- Nginx
- PHP (7.4, 8.0 & 8.1) and Composer
- MySQL
- MongoDB
- PhpMyAdmin
- Everything in docker containers
Docker LEMP Stack requires Docker
First create a file in the following path: data/vhost/default/index.html
. It will be the page that will be displayed by default. If you don't have a html file to use, you can use this:
<!DOCTYPE html>
<html lang="en">
<head>
<title>DEFAULT DOMAIN</title>
<style>
body {
background: black;
color: hotpink;
}
</style>
</head>
<body>
This is default domain
</body>
</html>
Then:
cd docker-lemp-stack
docker compose up -d
That's all, if you go to localhost you will see the page of the html file you created.
You can use OpenSSL to self-certify your domains, below are links to the guides for each operating system:
. Windows
- Cert guides for Linux/Mac
MIT