Fix database connection in docker
This commit is contained in:
@ -8,7 +8,7 @@ services:
|
||||
volumes:
|
||||
- ./:/app
|
||||
- node_modules:/app/node_modules
|
||||
command: /bin/sh -c "node ace migration:run --force && node ace serve --watch"
|
||||
command: /bin/sh -c "node ace migration:run --force || node ace serve --watch"
|
||||
depends_on:
|
||||
db:
|
||||
condition: service_healthy
|
||||
|
Reference in New Issue
Block a user