Skip to content

Commit 971b5f6

Browse files
committed
Run bun db migrate in docker compose
1 parent 6a12472 commit 971b5f6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docker-compose.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ services:
4848
environment:
4949
- DATABASE_URL=postgres://postgres:postgres@postgres:5432/mint
5050
- REDIS_URL=redis://redis:6379
51+
command: sh -c "bun db:migrate && bun run start"
5152
depends_on:
5253
postgres:
5354
condition: service_healthy

0 commit comments

Comments
 (0)