Skip to content

Commit efc815d

Browse files
authored
Merge pull request #21 from Chocobozzz/master
Fix ldap listen interface
2 parents 0671358 + e170796 commit efc815d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,4 @@ EXPOSE 389 636
2727
USER openldap
2828

2929
ENTRYPOINT ["/usr/bin/tini", "--", "/usr/sbin/slapd"]
30-
CMD ["-h", "ldapi:/// ldap://127.0.0.1:389 ldaps://127.0.0.1:636", "-d", "256"]
30+
CMD ["-h", "ldapi:/// ldap://0.0.0.0:389 ldaps://0.0.0.0:636", "-d", "256"]

docker-compose.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@ services:
55
container_name: ldap
66
# use the image tag to pull directly from the repo
77
# image: rroemhild/test-openldap
8-
8+
99
# use build tag to use the local repo
1010
build:
1111
context: ./
1212
dockerfile: ./Dockerfile
1313
ports:
14-
- '389:389'
15-
- '636:636'
14+
- '10389:10389'
15+
- '10636:10636'
1616
volumes:
1717
- data_volume:/var/lib/ldap/
1818

0 commit comments

Comments
 (0)