diff options
Diffstat (limited to 'docker-compose.yml')
| -rw-r--r-- | docker-compose.yml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/docker-compose.yml b/docker-compose.yml index 5816e75d..b94ab9da 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -40,11 +40,15 @@ services: migration: build: context: . - target: db + target: workers environment: DATABASE_URL: "file:/data/db.db" volumes: - data:/data + command: + - /bin/sh + - -c + - "cd /app/packages/db && yarn dlx prisma migrate deploy" volumes: redis: |
