Quickstart using embedded H2
Example - Quickstart using the embedded H2 database

Embedded H2 is useful for integration work and enables seamless use on the IAM demo config:

Via Docker CLI:

docker run --rm \
  --env "TZ=Europe/Zurich" \
  --env "IAM_LOG_LEVEL=DEBUG" \
  --env "IAM_MODULES=adminapp,loginapp,transaction-approval,api-policy-service,service-container,h2" \
  -v "$(pwd)/iam:/home/airlock/iam" \
  -p 8443:8443 \
  docker.io/ergon/airlock-iam:7.6

In the docker-compose.yml:

version: '3.7'
services:
  iam:
    image: docker.io/ergon/airlock-iam:7.6    environment:
      - "TZ=Europe/Zurich"
      - "IAM_LOG_LEVEL=DEBUG"
      - "IAM_MODULES=adminapp,loginapp,transaction-approval,api-policy-service,service-container,h2"
    volumes:
      - type: bind
        source: "./iam"
        target: "/home/airlock/iam"
    ports:
      - "8443:8443"

We recommend using the embedded H2 database only for demo and testing purposes. For production database use, please refer to User data source configuration (databases and directories).