Merge pull request #19630 from overleaf/jpa-leaner-ldap-pod

[server-pro] tests: import workaround for large memory allocation

GitOrigin-RevId: d739821153b5e29fb20e468796f655859428869b
This commit is contained in:
Jakob Ackermann
2024-07-29 11:16:14 +02:00
committed by Copybot
parent a80c9afef6
commit cb5e9b3f39
+7
View File
@@ -124,3 +124,10 @@ services:
ldap:
restart: always
image: rroemhild/test-openldap:1.1
# Workaround large memory allocation (using the max-open-files-limit as socket buffer scale).
# REF: https://github.com/moby/moby/issues/8231#issuecomment-63877553
# REF: https://github.com/moby/moby/issues/8231#issuecomment-63871343
command:
- 'bash'
- '-c'
- 'ulimit -n 1024 && exec bash /run.sh'