- Ensure the DB migration scripts are defined properly in ./Dockerdir/db/docker-entrypoint-initdb.d/*.sql.
- Run service:
$ docker-compose up db
To clean up properly the volumes containing the DB data have to be removed:
$ docker-compose down --volumes
| Name | Name | Last commit date | ||
|---|---|---|---|---|
$ docker-compose up db
To clean up properly the volumes containing the DB data have to be removed:
$ docker-compose down --volumes