Add persisted db volume
This commit is contained in:
@ -1,3 +1,4 @@
|
||||
---
|
||||
name: sentry
|
||||
services:
|
||||
scraper:
|
||||
@ -8,7 +9,8 @@ services:
|
||||
volumes:
|
||||
- ./:/app
|
||||
- node_modules:/app/node_modules
|
||||
command: node ace serve --watch
|
||||
command: /bin/bash -c "echo 'hello' && node ace migration:run --force && node ace serve --watch"
|
||||
|
||||
depends_on:
|
||||
db:
|
||||
condition: service_healthy
|
||||
|
Reference in New Issue
Block a user