Created
September 10, 2015 08:17
-
-
Save gabriel403/36ceadba82634cfe1e94 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
docker run --name fred-db -e MYSQL_USER=phinxdev -e MYSQL_PASSWORD=phinxdev -e MYSQL_DATABASE=phinxdev -e MYSQL_ROOT_PASSWORD=phinxdevroot -d mariadb | |
docker run -it --link fred-db:mysql --rm mariadb sh -c 'exec echo "$MYSQL_PORT_3306_TCP_ADDR"' | |
docker run -it --link fred-db:mysql -v $(pwd):/app diegomarangoni/hhvm:cli /app/vendor/bin/phinx migrate -e development -c /app/phinx.yml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment