From 14f2b5a106eeaad157f1f63e9a4af8e12abf5ee1 Mon Sep 17 00:00:00 2001 From: reglim Date: Fri, 14 Apr 2023 16:05:41 +0200 Subject: [PATCH] Docs: Fix Readme wrong instructions for docat persistence If the container was mounted that way, the db would not be properly persisted. fixes: #496 --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 2aed8cb5d..eafd8e9d5 100644 --- a/README.md +++ b/README.md @@ -13,10 +13,10 @@ you can optionally use volumes to persist state: ```sh # run container in background and persist data (docs, nginx configs and tokens database) # use 'ghcr.io/docat-org/docat:unstable' to get the latest changes -mkdir -p docat-run/ +mkdir -p docat-run/doc docker run \ --detach \ - --volume $PWD/docat-run/doc:/var/docat/ \ + --volume $PWD/docat-run:/var/docat/ \ --publish 8000:80 \ ghcr.io/docat-org/docat ``` @@ -106,4 +106,4 @@ Supported config options: ### Hide Controls -If you would like to send link to a specific version of the documentation without the option to change the version, you can do so by clicking on the `Hide Controls` button. This will hide the control buttons and change the link, which can then be copied as usual. \ No newline at end of file +If you would like to send link to a specific version of the documentation without the option to change the version, you can do so by clicking on the `Hide Controls` button. This will hide the control buttons and change the link, which can then be copied as usual.