You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -141,13 +141,15 @@ services:
141
141
ports:
142
142
- '1717:1717'
143
143
volumes:
144
-
- ${LOCAL_DB_PATH}:/app/local-db
145
-
- ${LOCAL_PRISMA_PATH}:/app/prisma
144
+
- ./local-db:/app/local-db
145
+
# - ./prisma:/app/prisma If mounting is required, please manually initialize the database file first.
146
146
restart: unless-stopped
147
147
```
148
148
149
149
> **Note:** Replace `{YOUR_LOCAL_DB_PATH}` and `{LOCAL_PRISMA_PATH}` with the actual paths where you want to store the local database. It is recommended to use the `local-db` and `prisma` folders in the current code repository directory to maintain consistency with the database paths when starting via NPM.
150
150
151
+
> **Note:** If you need to mount the database file (PRISMA), you need to run `npm run db:push` in advance to initialize the database file.
0 commit comments