From 63e41cf1ecb0a404ae6b6173eb03a574b5f1d1de Mon Sep 17 00:00:00 2001 From: Jason Kulatunga Date: Wed, 13 Dec 2023 12:28:25 -0800 Subject: [PATCH] Update run command to include bind mounts for persistent folders (db and cache) --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index b8a86a58..ff0b1a59 100644 --- a/README.md +++ b/README.md @@ -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`