github

sprintcube / docker-compose-lamp

  • среда, 27 ноября 2019 г. в 00:24:44
https://github.com/sprintcube/docker-compose-lamp

PHP
A basic LAMP stack environment built using Docker Compose.



LAMP stack built with Docker Compose

Landing Page

A basic LAMP stack environment built using Docker Compose. It consists of the following:

  • PHP
  • Apache
  • MySQL
  • phpMyAdmin

As of now, we have different branches for different PHP versions. Use appropriate branch as per your php version needed:

Installation

Clone this repository on your local computer and checkout the appropriate branch e.g. 7.3.x. Run the docker-compose up -d.

git clone https://github.com/sprintcube/docker-compose-lamp.git
cd docker-compose-lamp/
git fetch --all
git checkout 7.3.x
cp sample.env .env
docker-compose up -d

Your LAMP stack is now ready!! You can access it via http://localhost.

Configuration and Usage

Please read from appropriate version branch.