From 4833328557453943ba96628684f44877bf4ef9db Mon Sep 17 00:00:00 2001 From: cn Date: Tue, 18 Aug 2020 22:40:30 +0200 Subject: [PATCH] docs: improve docker run instructions --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 2890e19..708c521 100644 --- a/README.md +++ b/README.md @@ -81,7 +81,7 @@ The Docker image consumes the same configuration file in YAML format as the gem, host: "0.0.0.0" port: 8080 # omit the logfile: option so logging to STDOUT will happen automatically -db: "/var/lib/db.json" +db: "/var/lib/dyndnsd/db.json" # User's settings for updater and permissions follow here! ``` @@ -94,7 +94,7 @@ Run the Docker image exposing the DynDNS-API on host port 8080 via: docker run -d --name dyndnsd \ -p 8080:8080 \ -v /host/path/to/dyndnsd/config.yml:/etc/dyndnsd/config.yml \ - -v /host/path/to/dyndnsd/db.json:/var/lib/db.json \ + -v /host/ptherpath/to/dyndnsd/datadir:/var/lib/dyndnsd \ cmur2/dyndnsd:vX.Y.Z ```