Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.emergence.ai/llms.txt

Use this file to discover all available pages before exploring further.

em-core Chart

em-core deploys the CRAFT core platform to a Kubernetes cluster. It includes all services required to run the platform’s core capabilities.

Components

ComponentImagePurpose
em-platformghcr.io/emergenceai/em-platformMain backend with workflow orchestration
em-user-serviceghcr.io/emergenceai/em-user-serviceUser management and authentication
em-user-portalghcr.io/emergenceai/em-user-portalFrontend web application
keycloakupstream KeycloakIdentity and access management
postgresqlpostgres:alpinePersistent data storage
redisredis:alpineIn-memory caching and session storage
nginxupstream NginxIngress and load balancing

Quick start

1

Set environment variables

export HOSTNAME=platform.example.com
export KEYCLOAK_ADMIN_PASSWORD=<secure-password>
export POSTGRES_PASSWORD=<secure-password>
2

Create namespace

kubectl create namespace em-core
3

Create secrets

kubectl create secret generic em-core-credentials \
  --namespace em-core \
  --from-literal=KEYCLOAK_ADMIN_PASSWORD=$KEYCLOAK_ADMIN_PASSWORD \
  --from-literal=POSTGRES_PASSWORD=$POSTGRES_PASSWORD
4

Install the chart

helm install em-core oci://ghcr.io/emergenceai/em-charts/em-core \
  --version 0.0.8 \
  --namespace em-core \
  --set hostname=$HOSTNAME \
  --set postgresql.existingSecret=em-core-credentials \
  --set redis.existingSecret=em-core-credentials

Using external PostgreSQL and Redis

For production deployments, disable the bundled databases and connect to managed instances:
# values.yaml
postgresql:
  enabled: false

redis:
  enabled: false

postgresql:
  existingSecret: my-external-db-credentials  # Secret must contain: POSTGRES_HOST, POSTGRES_PORT, POSTGRES_DB, POSTGRES_USER, POSTGRES_PASSWORD

redis:
  existingSecret: my-external-db-credentials  # Secret must contain: REDIS_HOST, REDIS_PORT

Enabling HTTPS

Install cert-manager and configure a ClusterIssuer, then:
hostname: platform.example.com
schema: https

ingress:
  tls:
    enabled: true
    issuer: letsencrypt-prod

Key values

ValueDefaultDescription
hostnamelocalhostExternal hostname for ingress and service discovery
schemahttphttp or https
em-platform.image.repositoryghcr.io/emergenceai/em-platformem-platform image
em-user-service.image.repositoryghcr.io/emergenceai/em-user-serviceem-user-service image
em-user-portal.image.repositoryghcr.io/emergenceai/em-user-portalem-user-portal image
postgresql.enabledtrueDeploy bundled PostgreSQL
redis.enabledtrueDeploy bundled Redis
The full values reference is in charts/em-core/values.yaml in the em-charts repository.

em-data-insights Chart

Extends em-core with data analysis and insights capabilities.

em-service Chart

Base chart used by em-core for each component.

Upgrades

Chart version upgrade procedures.