Compare commits
No commits in common. "main" and "v3.0.0" have entirely different histories.
@ -11,10 +11,5 @@
|
|||||||
<option name="enabled" value="true" />
|
<option name="enabled" value="true" />
|
||||||
</CommitMessageValidationOverride>
|
</CommitMessageValidationOverride>
|
||||||
</option>
|
</option>
|
||||||
<option name="commitMessageValidationEnabledOverride">
|
|
||||||
<BoolValueOverride>
|
|
||||||
<option name="enabled" value="true" />
|
|
||||||
</BoolValueOverride>
|
|
||||||
</option>
|
|
||||||
</component>
|
</component>
|
||||||
</project>
|
</project>
|
@ -2,20 +2,20 @@
|
|||||||
<configuration default="false" name="build/Dockerfile" type="docker-deploy" factoryName="dockerfile" server-name="Docker LOCAL">
|
<configuration default="false" name="build/Dockerfile" type="docker-deploy" factoryName="dockerfile" server-name="Docker LOCAL">
|
||||||
<deployment type="dockerfile">
|
<deployment type="dockerfile">
|
||||||
<settings>
|
<settings>
|
||||||
<option name="imageTag" value="docker.asifbacchus.dev/ab-livereload/ab-livereload:4.0.0" />
|
<option name="imageTag" value="docker.asifbacchus.dev/ab-livereload/ab-livereload:3.0.0" />
|
||||||
<option name="buildArgs">
|
<option name="buildArgs">
|
||||||
<list>
|
<list>
|
||||||
<DockerEnvVarImpl>
|
<DockerEnvVarImpl>
|
||||||
<option name="name" value="BUILD_DATE" />
|
<option name="name" value="INTERNAL_VERSION" />
|
||||||
<option name="value" value="2022-05-02" />
|
<option name="value" value="3.0.0" />
|
||||||
</DockerEnvVarImpl>
|
</DockerEnvVarImpl>
|
||||||
<DockerEnvVarImpl>
|
<DockerEnvVarImpl>
|
||||||
<option name="name" value="GIT_COMMIT" />
|
<option name="name" value="GIT_COMMIT" />
|
||||||
<option name="value" value="6970776aa8" />
|
<option name="value" value="dc732efdb7" />
|
||||||
</DockerEnvVarImpl>
|
</DockerEnvVarImpl>
|
||||||
<DockerEnvVarImpl>
|
<DockerEnvVarImpl>
|
||||||
<option name="name" value="INTERNAL_VERSION" />
|
<option name="name" value="BUILD_DATE" />
|
||||||
<option name="value" value="4.0.0" />
|
<option name="value" value="2022-02-26" />
|
||||||
</DockerEnvVarImpl>
|
</DockerEnvVarImpl>
|
||||||
</list>
|
</list>
|
||||||
</option>
|
</option>
|
||||||
@ -23,7 +23,6 @@
|
|||||||
<option name="sourceFilePath" value="build/Dockerfile" />
|
<option name="sourceFilePath" value="build/Dockerfile" />
|
||||||
</settings>
|
</settings>
|
||||||
</deployment>
|
</deployment>
|
||||||
<EXTENSION ID="com.jetbrains.rider.docker.debug" isFastModeEnabled="true" isPublishEnabled="true" />
|
|
||||||
<method v="2" />
|
<method v="2" />
|
||||||
</configuration>
|
</configuration>
|
||||||
</component>
|
</component>
|
@ -72,8 +72,6 @@ ### Content mount
|
|||||||
|
|
||||||
Obviously, this container needs something to monitor to determine whether changes have been made. This is accomplished via bind-mounting a directory from the host and is why 'polling' is necessary. Mount a directory with files to be monitored to */watch* in the container.
|
Obviously, this container needs something to monitor to determine whether changes have been made. This is accomplished via bind-mounting a directory from the host and is why 'polling' is necessary. Mount a directory with files to be monitored to */watch* in the container.
|
||||||
|
|
||||||
> Starting with v4.0.0 you can watch up to 5 directories! Simply mount them to `/watch`, `/watch2` ... `/watch5'.
|
|
||||||
|
|
||||||
## Commands
|
## Commands
|
||||||
|
|
||||||
The container’s entrypoint script recognizes a few commands that tell it what you want to do:
|
The container’s entrypoint script recognizes a few commands that tell it what you want to do:
|
||||||
|
@ -22,7 +22,7 @@ ARG NODE_UID=9999
|
|||||||
ARG NODE_GID=9999
|
ARG NODE_GID=9999
|
||||||
RUN addgroup -g ${NODE_GID} -S node \
|
RUN addgroup -g ${NODE_GID} -S node \
|
||||||
&& adduser -G node -S -u ${NODE_UID} node \
|
&& adduser -G node -S -u ${NODE_UID} node \
|
||||||
&& mkdir /watch /watch2 /watch3 /watch4 /watch5 /certs \
|
&& mkdir /watch /certs \
|
||||||
&& chown root:node /certs \
|
&& chown root:node /certs \
|
||||||
&& chmod 770 /certs
|
&& chmod 770 /certs
|
||||||
|
|
||||||
|
@ -54,7 +54,7 @@ else {
|
|||||||
// start LiveReload server
|
// start LiveReload server
|
||||||
// noinspection JSVoidFunctionReturnValueUsed
|
// noinspection JSVoidFunctionReturnValueUsed
|
||||||
const lrServer = livereload.createServer(lrOptions, healthCheck.start());
|
const lrServer = livereload.createServer(lrOptions, healthCheck.start());
|
||||||
lrServer.watch(['/watch', '/watch2', '/watch3', '/watch4', '/watch5']);
|
lrServer.watch('/watch');
|
||||||
|
|
||||||
// graceful termination on signals
|
// graceful termination on signals
|
||||||
const termSignals = {
|
const termSignals = {
|
||||||
|
Loading…
Reference in New Issue
Block a user