Update run command to include bind mounts for persistent folders (db and cache)

This commit is contained in:
Jason Kulatunga 2023-12-13 12:28:25 -08:00
parent e6d613ad73
commit 63e41cf1ec
No known key found for this signature in database
1 changed files with 6 additions and 1 deletions

View File

@ -94,7 +94,12 @@ There are 2 flavors of Fasten:
Run the following commands to download and start the Fasten docker container.
```
docker pull ghcr.io/fastenhealth/fasten-onprem:main
docker run --rm -p 9090:8080 ghcr.io/fastenhealth/fasten-onprem:main
docker run --rm \
-p 9090:8080 \
-v `pwd`/db:/opt/fasten/db \
-v `pwd`/cache:/opt/fasten/cache \
ghcr.io/fastenhealth/fasten-onprem:main
```
Next, open a browser to `http://localhost:9090`