Skip to content

Commit e0c0a83

Browse files
committed
Removed version from the docker-compose file
Signed-off-by: Kasun <kasun.ranasinghe@icloud.com>
1 parent f32a2ab commit e0c0a83

File tree

1 file changed

+23
-25
lines changed

1 file changed

+23
-25
lines changed

docker-compose.yml

Lines changed: 23 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,27 @@
1-
version: '3.9'
2-
31
services:
4-
ldap_server:
5-
hostname: ldap_server
6-
image: openidentityplatform/opendj
7-
ports:
8-
- '1389:1389'
9-
- '4444:4444'
10-
environment:
11-
- BASE_DN=dc=example,dc=com
12-
- ROOT_USER_DN=cn=manager
13-
- ROOT_PASSWORD=password
14-
volumes:
15-
- ./data/:/opt/opendj/import-data/
16-
- ./data/:/opt/opendj/bootstrap/data/
17-
networks:
18-
- backend
19-
healthcheck:
20-
test: ["CMD-SHELL", "/opt/opendj/bin/status --bindDn cn=manager --bindPassword=password | grep 1389"]
21-
interval: 5s
22-
timeout: 10s
23-
retries: 5
24-
start_period: 30s
2+
ldap_server:
3+
hostname: ldap_server
4+
image: openidentityplatform/opendj
5+
ports:
6+
- "1389:1389"
7+
- "4444:4444"
8+
environment:
9+
- BASE_DN=dc=example,dc=com
10+
- ROOT_USER_DN=cn=manager
11+
- ROOT_PASSWORD=password
12+
volumes:
13+
- ./data/:/opt/opendj/import-data/
14+
- ./data/:/opt/opendj/bootstrap/data/
15+
networks:
16+
- backend
17+
healthcheck:
18+
test: ["CMD-SHELL", "/opt/opendj/bin/status --bindDn cn=manager --bindPassword=password | grep 1389"]
19+
interval: 5s
20+
timeout: 10s
21+
retries: 5
22+
start_period: 30s
2523

2624
# This might be redundant.
2725
networks:
28-
backend:
29-
external: false
26+
backend:
27+
external: false

0 commit comments

Comments
 (0)