Docker Compose support

Docker Compose provides a simple mechanism for defining multi-container environments.

Developers who want to familiarize themselves with the anatomy of an ISAM Docker environment can use the following sample .yaml and .env file to easily build an environment on their workstation for development purposes. This practical example is used to illustrate the composition of an example Security Verify Access Docker environment.

docker-compose.yaml

Environment

The environment is defined in the following .env file.

Overview

This Docker Compose configuration defines an environment with the following containers:

This environment has been created for simplicity to demonstrate:

Quick start

Place the 'docker-compose.yaml' and '.env' files into a new directory. From that directory, execute the following command to start the test environment:

This command will create and start all of the containers in the environment.

To access the LMI, open your web browser and visit:

To access the ISAM CLI, execute:

To destroy the environment, execute the following command:

Note the data stored on the shared configuration volume and log file directories will not be removed when the environment is destroyed.

Additional commands

Some example commands for some common Docker Compose tasks are listed in the following table:

Task Command
Run just the configuration service container and its dependencies docker-compose run isva-config
Stop the LDAP service container docker-compose stop isva-ldap
Remove the stopped LDAP service container docker-compose rm isva-ldap
Recreate the Database service container docker-compose up --force-recreate -d isva-db

For information about Docker Compose, see the Docker Compose website. (https://docs.docker.com/compose/)

Parent topic: Orchestration