Compare commits

..

No commits in common. "e738213ea02923f7458d29030c6f65ad4a496f06" and "aabe9d10d1fb39bd4897bab4fd7d5c61aa0d0efe" have entirely different histories.

6 changed files with 29 additions and 11 deletions

View File

@ -2,12 +2,12 @@
/shelf/ /shelf/
/workspace.xml /workspace.xml
# Rider ignored files # Rider ignored files
/projectSettingsUpdater.xml
/modules.xml /modules.xml
/.idea.livereload.iml
/contentModel.xml /contentModel.xml
/.idea.webdev.iml
/projectSettingsUpdater.xml
# Datasource local storage ignored files # Datasource local storage ignored files
/../../../../../../../../../:\Users\AsifB\Documents\RiderProjects\livereload\.idea\.idea.livereload.dir\.idea/dataSources/ /../../../../../../../../../:\Users\AsifB\Documents\RiderProjects\webdev\.idea\.idea.webdev.dir\.idea/dataSources/
/dataSources.local.xml /dataSources.local.xml
# Editor-based HTTP Client requests # Editor-based HTTP Client requests
/httpRequests/ /httpRequests/

View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ContentModelUserStore">
<attachedFolders />
<explicitIncludes />
<explicitExcludes />
</component>
</project>

View File

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="RIDER_MODULE" version="4">
<component name="NewModuleRootManager">
<content url="file://$MODULE_DIR$/../.." />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>

View File

@ -7,4 +7,7 @@
<inspection_tool class="SubjectLimit" enabled="true" level="ERROR" enabled_by_default="true" /> <inspection_tool class="SubjectLimit" enabled="true" level="ERROR" enabled_by_default="true" />
</profile> </profile>
</component> </component>
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$" vcs="Git" />
</component>
</project> </project>

View File

@ -17,13 +17,13 @@ RUN apk --update --no-cache add tzdata tini
# labels # labels
LABEL maintainer="Asif Bacchus <asif@bacchus.cloud>" LABEL maintainer="Asif Bacchus <asif@bacchus.cloud>"
LABEL org.label-schema.cmd="docker run -d --name livereload -v /dir/to/watch:/var/watch -p 35729:35729 [-e ...] docker.asifbacchus.app/livereload/livereload:latest" LABEL org.label-schema.cmd="docker run -d --name livereload -v /dir/to/watch:/var/watch -p 127.0.0.1:35729:35729 [-e ...] docker.asifbacchus.app/livereload/livereload:latest"
LABEL org.label-schema.description="Dockerized livereload npm running under (limited) node user. Environment variables allow specifying files to watch/exclude and notification delay." LABEL org.label-schema.description="Dockerized livereload npm running under (limited) node user. Environment variables allow specifying files to watch/exclude and notification delay."
LABEL org.label-schema.name="livereload" LABEL org.label-schema.name="livereload"
LABEL org.label-schema.schema-version="1.0" LABEL org.label-schema.schema-version="1.0"
LABEL org.label-schema.url="https://git.asifbacchus.app/ab-docker/livereload" LABEL org.label-schema.url="https://git.asifbacchus.app/ab-docker/webdev"
LABEL org.label-schema.usage="https://git.asifbacchus.app/ab-docker/livereload/raw/branch/master/README.md" LABEL org.label-schema.usage="https://git.asifbacchus.app/ab-docker/webdev/wiki"
LABEL org.label-schema.vcs-url="https://git.asifbacchus.app/ab-docker/livereload.git" LABEL org.label-schema.vcs-url="https://git.asifbacchus.app/ab-docker/webdev.git"
# create default volume in case user forgets to map one # create default volume in case user forgets to map one
VOLUME [ "/var/watch" ] VOLUME [ "/var/watch" ]

View File

@ -21,7 +21,7 @@ ## Private docker repository
## Source/Issues ## Source/Issues
If you want the Dockerfile or if you want to bring an issue/request to my attention, please head to either my private [git server (preferred)](https://git.asifbacchus.app/ab-docker/livereload) or [github](https://github.com/asifbacchus/livereload). If you want the Dockerfile or if you want to bring an issue/request to my attention, please head to either my private [git server (preferred)](https://git.asifbacchus.app/ab-docker/webdev) or [github](https://github.com/asifbacchus/webdev).
## Environment variables ## Environment variables
@ -41,7 +41,7 @@ ## Volume mapping
## Example run commands ## Example run commands
```bash ```bash
docker run -d --name livereload --restart unless-stopped \ docker run --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 -d --name livereload --restart unless-stopped \ docker run --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 -d --name livereload --restart unless-stopped \ docker run --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 \