Skip to content
This repository has been archived by the owner on Sep 8, 2021. It is now read-only.

Latest commit

 

History

History
35 lines (24 loc) · 998 Bytes

docker.md

File metadata and controls

35 lines (24 loc) · 998 Bytes

Deployment with Docker

The IAM service is provided on the following DockerHub repositories:

The docker image tag corresponding to this version of the documentation is:

{% set imageTag = book.iamVersion %} {% set imageName = "indigoiam/iam-login-service" + ":" + imageTag %}

{{imageName}}

Configuration and run

Prepare an environment file that will contain the environment variables settings for the IAM service container. See the configuration reference for a description of the variables.

The IAM service is run starting the docker container with the following command:

$ docker run \
  --name iam-login-service \
  --net=iam -p 8080:8080 \
  --env-file=/path/to/iam-login-service/env \
  -v /path/to/keystore.jks:/keystore.jks:ro \
  indigoiam/iam-login-service

Check the logs with:

$ docker logs -f iam-login-service