- Run
$ docker-compose up
- Navigate to http://localhost:8080
- Login using
root
/mypassword
Created
January 22, 2018 10:04
-
-
Save Voles/178bd5cac8381ceffb777c28d68222b3 to your computer and use it in GitHub Desktop.
MySQL with phpMyAdmin setup using 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
version: "2" | |
services: | |
mysql: | |
image: mysql | |
restart: always | |
environment: | |
MYSQL_ROOT_PASSWORD: mypassword | |
phpmyadmin: | |
image: phpmyadmin/phpmyadmin | |
restart: always | |
depends_on: | |
- mysql | |
ports: | |
- 8080:80 | |
links: | |
- mysql:db |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment