Deployment & Hosting

Struktural is designed to be deployed as a stateless container, relying on external managed services for persistence and caching.

Environment Variables

The platform behavior is heavily influenced by the standard ASPNETCORE_ENVIRONMENT variable:

Database Providers

Struktural requires a relational database. The provider is defined in the app-config.json (per tenant) or via appsettings.json overrides.

Supported dialects:

Example app-config.json database configuration:

"Database": {
  "Provider": "PostgreSQL",
  "ConnectionString": "Server=...;Database=...;Username=...;",
  "Schema": "public",
  "AuthMode": "Native"
}

(Note: AuthMode can be "Native", "EntraID", or "AWS_IAM").

File Storage Configurations

By default, files are stored on the local disk (files/ directory). For production scalability, external providers must be used.

Event Bus Configuration

The Event Bus orchestrates Workflows and system background tasks.