emqx/.ci/docker-compose-file/docker-compose-ldap.yaml
Thales Macedo Garitezi 22ba4db955 ci(ldap): fix ldap image start command
When running locally (linux):

```
65203b70.18825a20 0x7f38a4b17540 @(#) $OpenLDAP: slapd 2.5.16 (Sep 28 2023 21:52:49) $
	@buildkitsandbox:/openldap-2.5.16/servers/slapd
65203b70.1c1e0a61 0x7f38a4b17540 ch_calloc of 1 elems of 60129541696 bytes failed
slapd: ch_malloc.c:107: ch_calloc: Assertion `0' failed.
```

Reference: https://github.com/moby/moby/issues/8231#issuecomment-65230477
2023-10-06 15:30:21 -03:00

19 lines
349 B
YAML

version: '3.9'
services:
ldap_server:
container_name: ldap
build:
context: ../..
dockerfile: .ci/docker-compose-file/openldap/Dockerfile
ulimits:
nofile: 1024
image: openldap
#ports:
# - 389:389
volumes:
- ./certs/ca.crt:/etc/certs/ca.crt
restart: always
networks:
- emqx_bridge