Skip to content

Commit e32d902

Browse files
committed
chore: add readme about docker volume
1 parent 29ee2e0 commit e32d902

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,17 @@ UNDB is a no-code platform that can also serve as a Backend as a Service (BaaS).
6666
docker run -p 3721:3721 ghcr.io/undb-io/undb:latest
6767
```
6868

69+
- Run with docker with volume
70+
71+
```bash
72+
docker run -d \
73+
-p 3721:3721 \
74+
-v $(pwd)/undb.sqlite:/usr/src/app/undb.sqlite \
75+
-v $(pwd)/undb:/usr/src/app/undb \
76+
--name undb \
77+
ghcr.io/undb-io/undb:latest
78+
```
79+
6980
## Development
7081

7182
### Local Development (Recommended)

0 commit comments

Comments
 (0)