Skip to main content

On-Premises Deployment

Authnull can be deployed entirely within your own infrastructure as a containerized stack managed by Docker Compose. This section explains how to set up and run the Authnull On-Premises application stack on a local virtual machine.

It walks through provisioning the server, installing Docker and its dependencies, configuring the reverse proxy and SSL, standing up the organization and tenant, and configuring database MFA, wallet users, and access policies.

Scope

This section covers only the components that belong to the Authnull On-Premises application stack. It does not cover unrelated infrastructure, third-party systems outside the Docker Compose stack, or components not listed in Authnull On-Premises Components.

Deployment Steps

Complete the guides in the order below:

  1. Installation - Download the package, configure environment variables, install Docker, and start the stack
  2. Domain and SSL Configuration - Configure DNS records, issue SSL certificates, and set up Nginx
  3. Organization and Tenant Setup - Create the organization and validate the tenant
  4. Database MFA and Agent Setup - Set the MFA mode, connection mode, and install the database agent
  5. Wallet Users and Policies - Add wallet users, create database policies, and connect to the database

Architecture Overview

The AuthNull platform is deployed as a containerized microservices architecture using Docker Compose. External traffic enters through NGINX, which acts as the primary reverse proxy and API entry point. NGINX routes incoming HTTP/HTTPS requests to the appropriate internal services.

The application layer contains multiple microservices responsible for authentication, authorization, policy management, wallet operations, and identity management.

Supporting infrastructure services provide persistent storage, caching, workflow orchestration, and logging capabilities. These services include PostgreSQL, Redis, Cassandra, Elasticsearch, MinIO, and Temporal.

All services communicate through an internal Docker network, ensuring secure service-to-service communication within the platform.

System Requirements

Hardware Configuration

Ensure your virtual machine meets the following hardware specifications to ensure platform stability:

ComponentMinimumRecommended
CPU8 vCPU12+ vCPU
RAM16 GB32 GB
Storage150 GB SSD250+ GB SSD

Software and Operating System Requirements

  • Operating System: Ubuntu 22.04 LTS (recommended)
  • Docker Engine: Version 24 or higher
  • Docker Compose: Version 2 or higher

Authnull On-Premises Components

Authnull On-Premises is deployed as a set of Docker containers managed by Docker Compose. Below are only the components that belong to the Authnull On-Premises application stack.

Application Services

ComponentPurpose
did-react (Admin UI)Web admin dashboard / frontend
self-service-consoleEnd-user self-service portal
pam-servicePrivileged Access Management & endpoints
ad-serviceActive Directory integration & user sync
authn-serviceAuthentication
authnzAuthorization
mfa-serviceMulti-factor authentication
user-serviceUser management
wallet-serviceCredential wallet
issuer-serviceVerifiable credential issuance
verifier-serviceVerifiable credential verification
policy-servicePolicy management
database-serviceDatabase connection management
dashboard-serviceDashboard data
log-service / logworkflowsLogging & log workflows
okta-loginOkta integration
entra-serviceMicrosoft Entra / Azure AD integration
ssi-serviceSelf-sovereign identity
dbconsole-serviceDatabase console UI

Infrastructure Services

The following infrastructure services are bundled in the same stack:

ComponentPurpose
postgresPostgreSQL 16 - primary database
redisCache & session / MFA state store
elasticsearchLog indexing & search
cassandraTime-series data store
minioObject storage
temporalWorkflow orchestration engine