Visitar URL original
GitHub - alecatalfamo/lamp-example: Lamp Docker Compose · GitHub
Skip to content

About

Lamp Docker Compose

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

8 Commits

Folders and files

Repository files navigation

Lamp Example

This is a repo for deployment of LAMP stack using docker-compose.

Prerequisites

  • Docker
  • Docker Compose

How to run

  1. Clone the repo
  2. Run docker-compose up -d in the root directory of the repo

How to access

Edit PHP files

  • Edit the PHP files in the www directory

Interact with MySQL

Give the command to run mysql inside container:

docker exec -it mysql -u root -p

Try you at home:

If you want to try this at home you can access this URL:

W3Schools Sandbox

About

Lamp Docker Compose

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages