Skip to content

uutarou10/lamp-docker-compose

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lamp-docker-compose

Quick start LAMP environment using docker-compose!

Requirement

  • Docker
  • docker-compose

Usage

start

$ https://github.com/uutarou10/lamp-docker-compose.git
$ cd lamp-docker-compose
$ docker-compose up -d

It's all!

To show src dir (It's your document root!), access to http://localhost.

And to show phpMyAdmin, access to http://localhost:8080.

stop

$ docker-compose stop

connect to MySQL

Use your favorite tool for connect to mysql with below information.

  • Host: localhost
  • Port: 3306
  • UserName: root
  • Password: password

or use below command

$ docker-compose exec mysql mysql -u root -ppassword

reset MySQL data

Delete ./mysql dir to initialize db.

About

Quick start LAMP environment using docker-compose!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages