Skip to content

Commit 0ed1608

Browse files
author
Nils Bars
committed
Set unlimited memlock ulimit for ssh-reverse-proxy container
Allows russh to mlock cryptographic buffers without hitting the default RLIMIT_MEMLOCK limit.
1 parent eb6b8f5 commit 0ed1608

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

docker-compose.template.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,10 @@ services:
111111
ssh-reverse-proxy:
112112
init: true
113113
hostname: ssh-reverse-proxy
114+
ulimits:
115+
memlock:
116+
soft: -1
117+
hard: -1
114118
build:
115119
context: ./ssh-reverse-proxy
116120
dockerfile: Dockerfile

0 commit comments

Comments
 (0)