diff --git a/README.md b/README.md index 684bd68..b40d030 100644 --- a/README.md +++ b/README.md @@ -13,9 +13,12 @@ Further runs will be immediate, as the image will be cached locally. The recommended way to run this container looks like this: ```bash -$ docker run -d -p 80:80 -v /home/user/articles.json:/data/db.json clue/json-server +$ docker run -d -p 80:80 -v /home/user/data/:/data/ clue/json-server ``` +where /home/user/data directory contains db.json file. + + The above example exposes the JSON Server REST API on port 80, so that you can now browse to: ```