This is build from https://github.com/golang-migrate/migrate cli tool.
465
volumes:
- ${PWD}/migrations:/migrations
if you need link to another compose's service container, create outer_net, and set external property. set compose network and use it
networks:
output_net:
networks:
output_net:
external: true
$ docker-compose run --rm migration
$ docker-compose run --rm migration create -ext sql -dir ./migrations $@
Content type
Image
Digest
Size
34.6 MB
Last updated
over 7 years ago
docker pull justdomepaul/migration