|
@@ -124,3 +124,10 @@ 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'
|