Skip to content

TyPlox/docker-lemp-stack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker LEMP Stack

Simple LEMP Stack for local servers

Features

  • Nginx
  • PHP (7.4, 8.0 & 8.1) and Composer
  • MySQL
  • MongoDB
  • PhpMyAdmin
  • Everything in docker containers

Installation

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.

SSL

You can use OpenSSL to self-certify your domains, below are links to the guides for each operating system:

. Windows

TODO

  • Cert guides for Linux/Mac

License

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published