Skip to content

Commit f2b5e71

Browse files
authored
fix: new plugin and core versions, tcpKeepAlive OS settings (#57)
1 parent a21e2cf commit f2b5e71

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

Dockerfile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
FROM ubuntu:bionic-20200219 as tmp
22
ARG PLUGIN_NAME=postgresql
33
ARG PLAN_TYPE=FREE
4-
ARG CORE_VERSION=10.1.3
5-
ARG PLUGIN_VERSION=8.1.2
4+
ARG CORE_VERSION=10.1.4
5+
ARG PLUGIN_VERSION=8.1.3
66
RUN apt-get update && apt-get install -y curl zip
77
RUN OS= && dpkgArch="$(dpkg --print-architecture)" && \
88
case "${dpkgArch##*-}" in \
@@ -34,6 +34,9 @@ RUN set -x \
3434
COPY --from=tmp --chown=supertokens /usr/lib/supertokens /usr/lib/supertokens
3535
COPY --from=tmp --chown=supertokens /usr/bin/supertokens /usr/bin/supertokens
3636
COPY docker-entrypoint.sh /usr/local/bin/
37+
RUN sysctl -w net.ipv4.tcp_keepalive_time=60 && \
38+
sysctl -w net.ipv4.tcp_keepalive_intvl=5 && \
39+
sysctl -w net.ipv4.tcp_keepalive_probes=3
3740
RUN echo "$(md5sum /usr/lib/supertokens/config.yaml | awk '{ print $1 }')" >> /CONFIG_HASH
3841
RUN ln -s usr/local/bin/docker-entrypoint.sh /entrypoint.sh # backwards compat
3942
EXPOSE 3567

0 commit comments

Comments
 (0)