mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-29 06:23:38 -05:00
Merge pull request #6758 from overleaf/jpa-cut-ldap-memory-usage
[web] cut memory usage of ldap container GitOrigin-RevId: 26bbab4f6f84ecaab7d92869259fdaafa72559c0
This commit is contained in:
parent
0f3b73da99
commit
33b3d67753
2 changed files with 14 additions and 0 deletions
|
@ -79,6 +79,13 @@ services:
|
||||||
ldap:
|
ldap:
|
||||||
restart: always
|
restart: always
|
||||||
image: rroemhild/test-openldap:1.1
|
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'
|
||||||
|
|
||||||
saml:
|
saml:
|
||||||
restart: always
|
restart: always
|
||||||
|
|
|
@ -83,6 +83,13 @@ services:
|
||||||
ldap:
|
ldap:
|
||||||
restart: always
|
restart: always
|
||||||
image: rroemhild/test-openldap:1.1
|
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'
|
||||||
|
|
||||||
saml:
|
saml:
|
||||||
restart: always
|
restart: always
|
||||||
|
|
Loading…
Reference in a new issue