mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

shynome
19.11.2019 fffa9d4f9075b0cd94842495f2405fcd5dd88880
docker add OPENDJ_SSL_OPTIONS env (#63)

3 files modified
5 ■■■■ changed files
opendj-packages/opendj-docker/Dockerfile 2 ●●●●● patch | view | raw | blame | history
opendj-packages/opendj-docker/README.md 1 ●●●● patch | view | raw | blame | history
opendj-packages/opendj-docker/bootstrap/setup.sh 2 ●●● patch | view | raw | blame | history
opendj-packages/opendj-docker/Dockerfile
@@ -16,6 +16,8 @@
ENV SECRET_VOLUME=${SECRET_VOLUME}
ENV OPENDJ_SSL_OPTIONS=${SSL_OPTIONS:-"--generateSelfSignedCertificate"}
ENV MASTER_SERVER=${MASTER_SERVER}
ENV OPENDJ_REPLICATION_TYPE=${OPENDJ_REPLICATION_TYPE}
opendj-packages/opendj-docker/README.md
@@ -23,3 +23,4 @@
|VERSION|4.3.1|OpenDJ version|
|OPENDJ_USER|-|user which runs OpenDJ|
|OPENDJ_REPLICATION_TYPE|-|OpenDJ Replication type, valid values are: <ul><li>simple - standart replication</li><li>srs - standalone replication servers</li><li>sdsr - Standalone Directory Server Replicas</li><li>rg - Replication Groups</li></ul>Other values will be ignored|
|OPENDJ_SSL_OPTIONS|--generateSelfSignedCertificate|you can replace ssl options at here, like : "--usePkcs12keyStore /opt/domain.pfx --keyStorePassword domain"
opendj-packages/opendj-docker/bootstrap/setup.sh
@@ -5,7 +5,7 @@
# If any optional LDIF files are present load them
/opt/opendj/setup --cli -p $PORT --ldapsPort $LDAPS_PORT --enableStartTLS --generateSelfSignedCertificate \
/opt/opendj/setup --cli -p $PORT --ldapsPort $LDAPS_PORT --enableStartTLS $OPENDJ_SSL_OPTIONS \
  --baseDN $BASE_DN -h localhost --rootUserDN "$ROOT_USER_DN" --rootUserPassword "$ROOT_PASSWORD" \
  --acceptLicense --no-prompt  $ADD_BASE_ENTRY #--sampleData 1