Created
June 7, 2017 23:11
-
-
Save tbernacchi/86828cb8f1cd0904e5c1e96b79fb4bcd to your computer and use it in GitHub Desktop.
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: | |
db: | |
image: "mysql:latest" | |
restart: always | |
expose: | |
- 3306 | |
environment: | |
MYSQL_ROOT_PASSWORD: teste123 | |
phpmyadmin: | |
image: "phpmyadmin/phpmyadmin" | |
restart: always | |
ports: | |
- 8080:80 | |
environment: | |
MYSQL_USERNAME: root | |
MYSQL_ROOT_PASSWORD: teste123 | |
PMA_HOST: mysql | |
links: | |
- db:mysql |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment