Sign inSign up

janssenproject/monolith

By janssenproject

•Updated over 3 years ago

This image packs Jans services including, the auth-server, client-api, config-api, fido2, and scim.

Image
0

1.2K

janssenproject/monolith repository overview

⁠Overview

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.

⁠Versions

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.

⁠Environment Variables

The following environment variables are supported by the container:

ENVDescriptionDefault
CN_HOSTNAMEHostname to install janssen with.demoexample.jans.io
CN_ADMIN_PASSPassword of the admin user.1t5Fin3#security
CN_ORG_NAMEOrganization name. Used for ssl cert generation.Janssen
CN_EMAILEmail. Used for ssl cert generation.[email protected]
CN_CITYCity. Used for ssl cert generation.Austin
CN_STATEState. Used for ssl cert generationTX
CN_COUNTRYCountry. Used for ssl cert generation.US
CN_INSTALL_LDAPNOT SUPPORRTED YETfalse
CN_INSTALL_CONFIG_APIInstalls the Config API service.true
CN_INSTALL_SCIMInstalls the SCIM API service.true
CN_INSTALL_FIDO2Installs the FIDO2 API service.true
CN_INSTALL_CLIENT_APIInstalls the CLIENT API service.true
MYSQL_DATABASEMySQL jans database.jans
MYSQL_USERMySQL database user.jans
MYSQL_PASSWORDMySQL database user password.1t5Fin3#security
MYSQL_HOSTMySQL host.mysql which is the docker compose service name

⁠Pre-requisites

  • Docker⁠. Docker compose should be installed by default with Docker.

⁠How to run

docker compose -f mysql-docker-compose.yml up -d

⁠Clean up

Remove setup and volumes

docker compose -f mysql-docker-compose.yml down && rm -rf jans-*

⁠Test

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

⁠Access endpoints externally

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⁠

⁠Quick start

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

Tag summary

Content type

Image

Digest

sha256:e8113ffe3…

Size

126.4 MB

Last updated

over 3 years ago

docker pull janssenproject/monolith:1.0.10_dev