Skip to content

LEMP Docker assembly for fast start working on your PHP project

Notifications You must be signed in to change notification settings

Robot72/docker_lemp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Intslall LEMP using Docker

You had to install Docker and Docker-Compose then you can follow the guide below.

Project structure

  • www - projects files
  • mysql - db files
  • logs - logs from images
  • hosts - nginx configuration
  • images - folder for our images

How to start

Step 1. Input the code into terminal:

mkdir www www/hello.test mysql logs hosts && echo "<?php phpinfo();" > www/hello.test/index.php

Step 2. Start docker:

docker-compose up -d

Enjoy with docker :)

How to manage different containers

Open terminal within the container: docker exec -i -t container_id /bin/bash

About

LEMP Docker assembly for fast start working on your PHP project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published