- Build a docker compose with (Apache2, MySQL, PHP).
- Run the image to create a container.
- Setup the web files and database.
- Interact with web software on your browser.
Step 1: Clone the necessary files
Note: /tmp/DockerComposeLamp -> working folder
> git clone https://github.com/nevishs/DockerComposeLamp.git /tmp/DockerComposeLamp
> cd /tmp/DockerComposeLamp
Step 2: Run Docker Compose
Note:
> docker-compose up -d
Step 3: Interact with the site
Note: test out the functionality
> http://127.0.0.1/public