Skip to content

About

No description or website provided.

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

157 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker to install apache, PHP mysql environment

中文

Install the Docker

$ git clone https://github.com/dahaisoft/docker-lanmp.git
# debian
$ curl -sSL https://raw.githubusercontent.com/dahaisoft/shell-tool/master/install-atom.sh | sudo sh
# centos
$ curl -sSL https://raw.githubusercontent.com/dahaisoft/shell-tool/master/centos-install-docker.sh | sudo sh

Install the Docker-compose

$ curl -sSL https://raw.githubusercontent.com/dahaisoft/shell-tool/master/install-compose.sh | sudo sh

Run the choreography

# Copy the docker - compose folder apache - php56 - compose. Yml, mariadb - compose. Yml to the root directory
# Run apache
$ sudo docker-compose -f apache-php56-compose.yml up -d
# Run mariadb
$ sudo docker-compose -f mariadb-compose.yml up -d

The directory structure

.
├── www             Web sites
├── data            The user data directory
├── docker          Docker source code
└── compose-template  Container format template

About

No description or website provided.

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages