From a8407e3ffee1c2d4b8ac870b6269eab015df0ba1 Mon Sep 17 00:00:00 2001 From: Sean Cross Date: Sat, 12 Jan 2019 16:08:09 +0800 Subject: [PATCH] README: add note for saving repo root Signed-off-by: Sean Cross --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index aa878c1..758062a 100644 --- a/README.md +++ b/README.md @@ -33,6 +33,7 @@ There are some environment variables that can be used to configure the server: An example invocation would be: ``` +mkdir repo-root && chown 1000 repo-root docker run \ -d \ --restart unless-stopped \ @@ -41,5 +42,7 @@ docker run \ -p 9119:80 \ -e RV_PREFIXES=https://github.com/example \ -e RV_SECRET=rvsecretkey \ + -e RV_ROOT=/data \ + -v $(pwd)/repo-root:/data \ reveal-serve ``` \ No newline at end of file