Last active
December 11, 2018 12:29
-
-
Save samhk222/54890b5d3f5ab268209873f72f213222 to your computer and use it in GitHub Desktop.
Aia.la Docker Compose
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git clone https://github.com/samhk222/Docker-LAMP-Boilerplate |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
environment: | |
MYSQL_ROOT_PASSWORD: password | |
DB_HOST: SERVER-5.6-mysql | |
DB_PORT: 3306 | |
DB_DATABASE: SERVER | |
DB_USERNAME: root | |
DB_PASSWORD: password | |
DOCKER_WEB_PORT: 8877 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker-compose build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker-compose up |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker-compose up -d |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker exec -it SERVER-7.2.x-webserver bash |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment