Fix database connection in docker

This commit is contained in:
Mike Conrad
2025-06-04 20:27:13 -04:00
parent a7bdeb6248
commit c20536cd96
3 changed files with 7 additions and 6 deletions

View File

@ -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