This image packs Jans services including, the auth-server, client-api, config-api, fido2, and scim.
1.2K
This image is for testing and development purposes only! Use Janssen helm charts for production setups
Docker monolith image packaging for Janssen.This image packs janssen services including, the auth-server, client-api, config-api, fido2, and scim.
See Releases for stable versions. This image should never be used in production.
For bleeding-edge/unstable version, use janssenproject/monolith:1.0.3_dev.
The following environment variables are supported by the container:
| ENV | Description | Default |
|---|---|---|
CN_HOSTNAME | Hostname to install janssen with. | demoexample.jans.io |
CN_ADMIN_PASS | Password of the admin user. | 1t5Fin3#security |
CN_ORG_NAME | Organization name. Used for ssl cert generation. | Janssen |
CN_EMAIL | Email. Used for ssl cert generation. | [email protected] |
CN_CITY | City. Used for ssl cert generation. | Austin |
CN_STATE | State. Used for ssl cert generation | TX |
CN_COUNTRY | Country. Used for ssl cert generation. | US |
CN_INSTALL_LDAP | NOT SUPPORRTED YET | false |
CN_INSTALL_CONFIG_API | Installs the Config API service. | true |
CN_INSTALL_SCIM | Installs the SCIM API service. | true |
CN_INSTALL_FIDO2 | Installs the FIDO2 API service. | true |
CN_INSTALL_CLIENT_API | Installs the CLIENT API service. | true |
MYSQL_DATABASE | MySQL jans database. | jans |
MYSQL_USER | MySQL database user. | jans |
MYSQL_PASSWORD | MySQL database user password. | 1t5Fin3#security |
MYSQL_HOST | MySQL host. | mysql which is the docker compose service name |
docker compose -f mysql-docker-compose.yml up -d
Remove setup and volumes
docker compose -f mysql-docker-compose.yml down && rm -rf jans-*
docker exec -ti docker-jans-monolith_jans_1 bash
Run
/opt/jans/jans-cli/config-cli.py
#or
/opt/jans/jans-cli/scim-cli.py
Add to your /etc/hosts file the ip domain record which should be the ip of the instance docker is installed at and the domain used in the env above CN_HOSTNAME.
# For-example
172.22.0.3 demoexample.jans.io
After adding the record you can hit endpoints such as https://demoexample.jans.io/.well-known/openid-configuration
Grab a fresh ubuntu 22.04 lts VM and run:
wget https://raw.githubusercontent.com/JanssenProject/jans/main/automation/startjanssendemo.sh && chmod u+x startjanssenmonolithdemo.sh && sudo bash startjanssenmonolithdemo.sh demoexample.jans.io MYSQL
Content type
Image
Digest
sha256:e8113ffe3…
Size
126.4 MB
Last updated
over 3 years ago
docker pull janssenproject/monolith:1.0.10_dev