Container - Docker

Management center is deployed in conjunction with the controlled product.

Getting repo access

Ensure to follow steps at https://docs.fortifiedid.se/installation ensuring docker-repo access.

Integrity Access

Start docker image using:

docker run -d
--name mgmt-access
--hostname mgmt-access
--read-only=false
-e XDG_CACHE_HOME=/tmp
-p 8443:8443/tcp
-p 4443:4443/tcp
fortifiedid.jfrog.io/docker/fortifiedid/fortified-mgmt-access:<version>
config/config.json
access_token=<access_token>

Example compose file with additional data:

services:
  mgmt-access:
    image: fortifiedid.jfrog.io/docker/fortifiedid/fortified-mgmt-access:<version>
    container_name: mgmt-access
    hostname: mgmt-access
    read_only: false
    environment:
      - XDG_CACHE_HOME=/tmp
      - FORTIFIED_SECRETS_KEY_SIZE=256
      - FORTIFIED_SECRETS_SECRET=c3b32a2764da3df1ec010097799e2d8f620212f3e012e205fea43f598ad7a318
    command:
      - "config/config.json"
      - access_token=<access_token>
    ports:
      - "8443:8443/tcp"
      - "4443:4443/tcp"
    volumes:
      - ./customer:/opt/fortified/servers/mgmt-server/data/customer
      - ./repository:/opt/fortified/servers/mgmt-server/data/repository

Once started acces on https://localhost:4443/mgmt/access

Portal

docker run -d \
  --name mgmt-portal \
  --hostname mgmt-portal \
  --read-only=false \
  -e XDG_CACHE_HOME=/tmp \
  -p 8445:8445/tcp \
  -p 4443:4443/tcp \
  fortifiedid.jfrog.io/docker/fortifiedid/fortified-mgmt-portal:<version> \
  config/config.json \
  access_token=<access_token>

services:
  mgmt-portal:
    
    image: fortifiedid.jfrog.io/docker/fortifiedid/fortified-mgmt-portal:<version>
    container_name: fortified-mgmt-portal
    hostname: mgmt-portal
    read_only: false
    environment:
      XDG_CONFIG_HOME: /tmp/frtfd/config # jgit configuration dir - must be writable (specify to avoid log warnings)
    command:
      - "config/config.json"
      - FORTIFIED_SECRETS_KEY_SIZE=256
      - FORTIFIED_SECRETS_SECRET=c3b32a2764da3df1ec010097799e2d8f620212f3e012e205fea43f598ad7a318
      - access_token=<access_token>
      
    ports:
      - "8445:8445/tcp"
      - "4445:4443/tcp"
  
    volumes:
       - ./data:/opt/fortified/servers/mgmt-server/data

Once started acces on https://localhost:4443/mgmt/portal