Skip to content

Instantly share code, notes, and snippets.

@tbernacchi
Created June 7, 2017 23:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tbernacchi/86828cb8f1cd0904e5c1e96b79fb4bcd to your computer and use it in GitHub Desktop.
Save tbernacchi/86828cb8f1cd0904e5c1e96b79fb4bcd to your computer and use it in GitHub Desktop.
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