docs(README): fix incomplete docker cmds

This commit is contained in:
Asif Bacchus 2021-01-05 14:14:51 -07:00
parent 81c0b51748
commit e738213ea0

View File

@ -41,7 +41,7 @@ ## Volume mapping
## Example run commands ## Example run commands
```bash ```bash
docker run --name livereload --restart unless-stopped \ docker run -d --name livereload --restart unless-stopped \
-v /home/user/Documents/myWebPage:/var/watch \ -v /home/user/Documents/myWebPage:/var/watch \
-p 35729:35729 \ -p 35729:35729 \
asifbacchus/livereload:latest asifbacchus/livereload:latest
@ -54,7 +54,7 @@ ### Using environment variables
Say you want to only monitor html and css files and you want to ignore anything going on in your 'oldversion' folder. You can set environment variables as follows: Say you want to only monitor html and css files and you want to ignore anything going on in your 'oldversion' folder. You can set environment variables as follows:
```bash ```bash
docker run --name livereload --restart unless-stopped \ docker run -d --name livereload --restart unless-stopped \
-v /home/user/Documents/myWebPage:/var/watch \ -v /home/user/Documents/myWebPage:/var/watch \
-p 35729:35729 \ -p 35729:35729 \
-e EXT="html,css" \ -e EXT="html,css" \
@ -65,7 +65,7 @@ ### Using environment variables
If you wanted a longer polling period, run as follows: If you wanted a longer polling period, run as follows:
```bash ```bash
docker run --name livereload --restart unless-stopped \ docker run -d --name livereload --restart unless-stopped \
-v /home/user/Documents/myWebPage:/var/watch \ -v /home/user/Documents/myWebPage:/var/watch \
-p 35729:35729 \ -p 35729:35729 \
-e DELAY=3000 \ -e DELAY=3000 \