Skip to content

[READ-ONLY] Docker image for mattes/migrate

License

Notifications You must be signed in to change notification settings

webplates/docker-migrate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Migrate Docker image

Build Status Docker Image

Docker image for mattes/migrate

Usage

$ docker pull webplates/migrate
$ docker run --rm -it webplates/migrate

In order to effectvely run migrations, you need to mount a volume and configure the database parameters:

$ docker run --rm -it -v $PWD:/work -w /work webplates/migrate -path migrations/ -database mysql://user:pass@tcp\(host:3306\)/db up

License

The MIT License (MIT). Please see License File for more information.