Skip to content

Commit 14ad582

Browse files
authored
fix: tcp keep alive (#58)
* fix: new plugin and core versions, tcpKeepAlive OS settings * fix: remove unreliable RUN command, add readme entry
1 parent f2b5e71 commit 14ad582

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,4 +144,14 @@ docker run \
144144
--tmpfs=/lib/supertokens/temp/:exec \
145145
--read-only \
146146
-d registry.supertokens.io/supertokens/supertokens-postgresql
147+
```
148+
149+
## Running with tcp keepalive settings
150+
```bash
151+
docker run \
152+
-p 3567:3567 \
153+
--sysctl net.ipv4.tcp_keepalive_time=60 \
154+
--sysctl net.ipv4.tcp_keepalive_intvl=5 \
155+
--sysctl net.ipv4.tcp_keepalive_probes=3 \
156+
-d registry.supertokens.io/supertokens/supertokens-postgresql
147157
```

0 commit comments

Comments
 (0)