Skip to content

Commit

Permalink
Use unprivileged ports
Browse files Browse the repository at this point in the history
  • Loading branch information
rroemhild committed Jan 4, 2021
1 parent efc815d commit adb4650
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ EXPOSE 389 636
USER openldap

ENTRYPOINT ["/usr/bin/tini", "--", "/usr/sbin/slapd"]
CMD ["-h", "ldapi:/// ldap://0.0.0.0:389 ldaps://0.0.0.0:636", "-d", "256"]
CMD ["-h", "ldapi:/// ldap://0.0.0.0:10389 ldaps://0.0.0.0:10636", "-d", "256"]
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ The Flask extension [flask-ldapconn][flaskldapconn] use this image for unit test

```
docker pull rroemhild/test-openldap
docker run --rm -d -p 10389:389 -p 10636:636 rroemhild/test-openldap
docker run --rm -p 389:10389 -p 636:10636 rroemhild/test-openldap
```

## Exposed ports
Expand Down

0 comments on commit adb4650

Please sign in to comment.