Skip to main content

Installing Sync server

1. Introduction

Guide to install Sync server using Docker.

There is a public docker image at docker hub: https://hub.docker.com/r/soffid/iam-sync

2. Prerequisites

Soffid IAM sync server requires the following requirements:

3. Video Tutorial

Linux

 

4. Installation

To configure the first IAM Sync server, the following environment variables can be set for the first server:

VariableDescriptionExample
DB_URLJDBC URLjdbc:mariadb://dbcontainer/soffid
DB_USERDatabase userSoffid
DB_PASSWORDDatabase password5uper5ecret
SOFFID_HOSTNAMEThe host name used to access to the sync serversyncserver01.soffid.com
SOFFID_PORTTCP port used for incomming connections760
SOFFID_MAINSet to yes for the first sync server, no for the next onesyes

To configure the next sync servers, the following environment variables can be set:

VariableDescriptionExample
SOFFID_SERVERFirst sync server urlhttps://syncserver01.soffid.com:1760
SOFFID_USERSoffid user to join the security domainadmin
SOFFID_PASSSoffid user passwordchangeit
SOFFID_HOSTNAMEThe host name used to access to the sync serversyncserver.soffid.com
SOFFID_PORTTCP port used for incomming connections760
SOFFID_TENANTTenant namemaster
SOFFID_MAINSet to yes for the first sync server, no for the next onesno

To configure a sync server in a private network, not directly accessible from the main sync server, the following environment variables can be set:

VariableDescriptionExample
SOFFID_SERVERFirst sync server urlhttps://syncserver01.soffid.com:1760
SOFFID_USERSoffid user to join the security domainadmin
SOFFID_PASSSoffid user passwordchangeit
SOFFID_HOSTNAMEThe host name used to access to the sync serversyncserver.soffid.com
SOFFID_TENANTTenant namemaster
SOFFID_MAINSet to yes for the first sync server, no for the next onesno
SOFFID_REMOTEFlag to enable cloud protocolyes

The following volumes are defined by default:

VolumeUsage
/opt/soffid/iam-console-3/confConfiguration files, including private keys and certificates

Here you have a sample command to start a docker container running IAM sync server. Mind to specify the port number to expose the sync server docker to the outside world. It is not needed when using the cloud connectivity:

docker run -d \
   -e DB_URL=jdbc:mysql://mariadb-service/soffid \
   -e DB_USER=soffid \
   -e DB_PASSWORD=soffid \
   -e SOFFID_PORT=1760 \
   -e SOFFID_HOSTNAME=syncserver.soffid.com \
   -e SOFFID_MAIN=yes \
   --name=iam-sync \
   --publish 1760:1760 \
   --network=soffidnet \
   soffid/iam-sync

To see console log files, execute:

docker logs -f iam-sync