| | |
| | | Build docker image: |
| | | |
| | | ```bash |
| | | docker build -t openidentityplatform/opendj --build-arg VERSION=4.5.1 . |
| | | docker build -t openidentityplatform/opendj . |
| | | ``` |
| | | |
| | | Run image |
| | | |
| | | ```bash |
| | | docker run -d -p 1389:1389 -p 1636:1636 -p 4444:4444 --name opendj openidentityplatform/opendj:4.5.1 |
| | | docker run -d -p 1389:1389 -p 1636:1636 -p 4444:4444 --name opendj openidentityplatform/opendj |
| | | ``` |
| | | |
| | | ## Environment Variables |
| | |
| | | | SECRET_VOLUME | - | Mounted keystore volume, if present copies keystore over | |
| | | | MASTER_SERVER | - | Replication master server | |
| | | | VERSION | - | OpenDJ version | |
| | | | OPENDJ_USER | - | user which runs OpenDJ | |
| | | | OPENDJ_USER | opendj | 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_JAVA_ARGS | -server | extra instance java args | |
| | | | BACKEND_TYPE | je | OpenDJ backend type, see [dsconfig create-backend](https://doc.openidentityplatform.org/opendj/reference/dsconfig-subcommands-ref#dsconfig-create-backend) documentation | |
| | | | BACKEND_DB_DIRECTORY | db | OpenDJ `db-directory` attribute for backend | |
| | | | BACKEND_DB_DIRECTORY | db | OpenDJ `db-directory` attribute for backend | |
| | | | SETUP_ARGS | - | extra setup args | |