Skip to content

Commit

Permalink
chore: add readme about docker volume
Browse files Browse the repository at this point in the history
  • Loading branch information
nichenqin committed Dec 23, 2024
1 parent 29ee2e0 commit e32d902
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,17 @@ UNDB is a no-code platform that can also serve as a Backend as a Service (BaaS).
docker run -p 3721:3721 ghcr.io/undb-io/undb:latest
```

- Run with docker with volume

```bash
docker run -d \
-p 3721:3721 \
-v $(pwd)/undb.sqlite:/usr/src/app/undb.sqlite \
-v $(pwd)/undb:/usr/src/app/undb \
--name undb \
ghcr.io/undb-io/undb:latest
```

## Development

### Local Development (Recommended)
Expand Down

0 comments on commit e32d902

Please sign in to comment.