This app provides an easy way to execute migrations and populate database with additional data, which is particularly useful when running a local Docker Compose with services for testing purposes.
It allows keeping separate data and migration files while applying them using a single container app.
The migration files must be in a format recognized by migrate.
-
Clone this repository.
-
Create a Docker image.
-
Add a service in your
docker-compose.yml
file.
-
Pull the image from this repository package.
-
Add a service in your
docker-compose.yml
file.
For more details and examples, refer to the docker-compose file.
Contributions are welcome! If you find a bug or would like to suggest an enhancement, please make a fork, create a new branch with the bugfix or feature, and submit a pull request.
This project is licensed under the MIT License. See LICENSE file for more information.