Open Kortyx on GitHub

Kortyx Studio Configuration Reference

Updated 17 minutes ago • August 2, 2026

This is the stable deployment boundary for Docker Compose, virtual machines, ECS, Cloud Run, Kubernetes, Terraform, CDK, and equivalent systems.

For a guided installation, begin with Deploy on a Server.

Components

ComponentImage or dependencyResponsibility
Studioghcr.io/kortyx-io/kortyx-studio:<version>Human observability interface on port 6300
Telemetry APIghcr.io/kortyx-io/kortyx-api:<version>Authenticated ingestion and Studio reads on port 6400
Database jobAPI image running kortyx-studio-dbIdempotent schema migration and single-Project bootstrap
PostgreSQLPostgreSQL 17 is release-testedDurable telemetry, projections, Project scope, and key verifiers

Use the same immutable version tag for both Kortyx images. Published images support Linux AMD64 and ARM64.

Startup and upgrade order

Run the database operation as a one-shot job before starting or updating the API:

kortyx-studio-db migrate-and-bootstrap

Individual operations are available when an orchestrator separates them:

kortyx-studio-db migrate kortyx-studio-db bootstrap

Migration and bootstrap are idempotent, so a failed job can be retried. After it succeeds, start the telemetry API and then Studio.

Do not start newer application images against an older schema. Database downgrade is unsupported.

Telemetry API and database job variables

VariableRequiredPurpose
DATABASE_URLYesPostgreSQL connection URL with provider-required TLS settings
KORTYX_API_KEY_PEPPERYes in productionIndependent high-entropy HMAC key for API-key verification
API_HOSTNoListen address; container default is 0.0.0.0
API_PORTNoContainer port; default is 6400

Database bootstrap variables

VariableRequiredPurpose
KORTYX_TELEMETRY_API_KEYYesProject-scoped telemetry:write credential for SDK producers
KORTYX_STUDIO_API_KEYYesProject-scoped studio:read credential used by Studio

Raw keys are used to create or replace their verifier records. They are not written to bootstrap logs.

Studio variables

VariableRequiredPurpose
KORTYX_API_URLYesInternal telemetry API URL, such as http://api:6400
KORTYX_STUDIO_API_KEYYesServer-only Studio read credential
KORTYX_STUDIO_AUTH_MODEYes remotelyUse basic for the current self-hosted release
KORTYX_STUDIO_BASIC_AUTH_USERNAMEWith Basic AuthHuman sign-in username
KORTYX_STUDIO_BASIC_AUTH_PASSWORDWith Basic AuthHuman sign-in password
PORTNoContainer port; default is 6300

The Studio read key is consumed by the Next.js server and must never be sent to the browser. The telemetry write key belongs only in server-side SDK producers.

Health and shutdown

ServiceCheck
Telemetry APIGET /health on port 6400
StudioAny HTTP response below 500 on port 6300; 401 is healthy with Basic Auth
PostgreSQLProvider or orchestrator database readiness check

The API and Studio handle SIGTERM for orchestrated shutdown. PostgreSQL is the durable state boundary; API and Studio containers do not need persistent filesystems.

Platform mapping

RequirementAWSGoogle CloudKubernetes
ContainersECS/Fargate or EKSCloud Run or GKEDeployments
PostgreSQLRDS PostgreSQLCloud SQL for PostgreSQLManaged/external PostgreSQL
SecretsSecrets ManagerSecret ManagerSecret or ExternalSecret
Database operationOne-off ECS taskCloud Run JobJob or Helm hook
HTTPS and human accessALB plus VPN/OIDC proxyLoad Balancer plus IAPIngress plus auth proxy

Cloud-provider SDKs are not required by Studio. The platform injects the documented variables and schedules the documented components.

Supported boundary

Supported now

  • one Project per deployment;
  • one API and one Studio replica;
  • external PostgreSQL;
  • version-pinned AMD64 or ARM64 images;
  • externally injected secrets;
  • retryable migration/bootstrap jobs; and
  • HTTPS and access control supplied at the deployment edge.

Not yet claimed

  • high availability or multi-region recovery;
  • horizontal-scaling guarantees and published capacity limits;
  • built-in OIDC, users, RBAC, RLS, or audit logs;
  • multiple Project administration;
  • overlapping remote credential rotation through an Admin API; or
  • official Terraform, CDK, or Helm modules.

Release boundary: This is a deployable self-hosted release for controlled environments, not a claim of enterprise-grade high availability.