Add a delay to let the PostgreSQL docket container spin up.
This commit is contained in:
parent
eecae810d2
commit
dbe2e3d2be
@ -11,6 +11,7 @@ postgres.container.id:
|
|||||||
|
|
||||||
start-postgres: postgres.container.id
|
start-postgres: postgres.container.id
|
||||||
docker start $(PGSQL_CONTAINER_ID)
|
docker start $(PGSQL_CONTAINER_ID)
|
||||||
|
sleep 1
|
||||||
db_migrate up -c database-local.json
|
db_migrate up -c database-local.json
|
||||||
|
|
||||||
stop-postgres: postgres.container.id
|
stop-postgres: postgres.container.id
|
||||||
|
Loading…
x
Reference in New Issue
Block a user