forked from ruby-ldap/ruby-net-ldap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
81 lines (75 loc) · 1.66 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
version: "3.8"
networks:
integration_test_network:
services:
openldap:
image: osixia/openldap:1.4.0
networks:
integration_test_network:
aliases:
- ldap.example.org
- cert.mismatch.example.org
environment:
LDAP_TLS_VERIFY_CLIENT: "try"
LDAP_SEED_INTERNAL_LDIF_PATH: "/ldif"
healthcheck:
test: ["CMD", "ldapsearch", "-x", "-s", "base"]
interval: 60s
start_period: 30s
timeout: 5s
retries: 1
hostname: "ldap.example.org"
volumes:
- ./test/fixtures/ldif:/ldif:ro
ci-2.5:
image: ruby:2.5
entrypoint: /code/ci-run.sh
environment:
INTEGRATION: openldap
INTEGRATION_HOST: ldap.example.org
depends_on:
- openldap
networks:
integration_test_network:
volumes:
- .:/code
working_dir: /code
ci-2.6:
image: ruby:2.7
entrypoint: /code/ci-run.sh
environment:
INTEGRATION: openldap
INTEGRATION_HOST: ldap.example.org
depends_on:
- openldap
networks:
integration_test_network:
volumes:
- .:/code
working_dir: /code
ci-2.7:
image: ruby:2.7
entrypoint: /code/ci-run.sh
environment:
INTEGRATION: openldap
INTEGRATION_HOST: ldap.example.org
depends_on:
- openldap
networks:
integration_test_network:
volumes:
- .:/code
working_dir: /code
ci-jruby-9.2:
image: jruby:9.2
entrypoint: /code/ci-run.sh
environment:
INTEGRATION: openldap
INTEGRATION_HOST: ldap.example.org
depends_on:
- openldap
networks:
integration_test_network:
volumes:
- .:/code
working_dir: /code