Skip to content

Commit 4b6f9d9

Browse files
committed
Remove s6 service timeout
1 parent c3f019c commit 4b6f9d9

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed

docker/Dockerfile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,13 @@ ARG BUILD_VERSION
1010
ARG BUILD_COMMIT
1111
ARG BUILD_DATE
1212

13+
# See: https://github.com/just-containers/s6-overlay/blob/master/README.md
1314
ENV SUPPRESS_NO_CONFIG_WARNING=1 \
14-
S6_FIX_ATTRS_HIDDEN=1 \
1515
S6_BEHAVIOUR_IF_STAGE2_FAILS=1 \
16+
S6_CMD_WAIT_FOR_SERVICES_MAXTIME=0 \
17+
S6_FIX_ATTRS_HIDDEN=1 \
18+
S6_KILL_FINISH_MAXTIME=10000 \
19+
S6_VERBOSITY=1 \
1620
NODE_ENV=production \
1721
NPM_BUILD_VERSION="${BUILD_VERSION}" \
1822
NPM_BUILD_COMMIT="${BUILD_COMMIT}" \

docker/dev/Dockerfile

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
FROM jc21/nginx-full:certbot-node
22
LABEL maintainer="Jamie Curnow <jc@jc21.com>"
33

4-
ENV S6_LOGGING=0 \
5-
SUPPRESS_NO_CONFIG_WARNING=1 \
6-
S6_FIX_ATTRS_HIDDEN=1
4+
# See: https://github.com/just-containers/s6-overlay/blob/master/README.md
5+
ENV SUPPRESS_NO_CONFIG_WARNING=1 \
6+
S6_BEHAVIOUR_IF_STAGE2_FAILS=1 \
7+
S6_CMD_WAIT_FOR_SERVICES_MAXTIME=0 \
8+
S6_FIX_ATTRS_HIDDEN=1 \
9+
S6_KILL_FINISH_MAXTIME=10000 \
10+
S6_VERBOSITY=2
711

812
RUN echo "fs.file-max = 65535" > /etc/sysctl.conf \
913
&& apt-get update \

0 commit comments

Comments
 (0)