Skip to main content

Environment Variables

The deployment .env file lives in the deployment directory and is created from .env.example by soln install with mode 0600. Keep it at 0600 and never commit it.

Deployment Identity​

VariableMeaning
SOLN_DEPLOYMENT_TARGETlocal for this-computer deployments, server for server deployments
SOLN_DEPLOYMENT_MODEsingleMachine or externalServices
CP_URLControl Plane URL used for registration, releases, and tokens
CONTROL_PLANE_ISSUERissuer expected in Control Plane tokens
TENANT_ID, RUNTIME_ID, AGENT_IDRuntime registration identity
RUNTIME_ORIGINexact HTTPS Origin of the Runtime
AGENT_SECRETRuntime registration credential, shown once in the Control Plane
AGENT_CONFIG_PATHpath of the Agent configuration file

Product Help​

VariableMeaning
HELP_CENTER_BASE_URLorigin of the Soln Help Center site. Set it when the Help Center is hosted on another origin so help answers cite absolute links; empty keeps citations site-relative.

Local Storage​

VariableMeaning
SOLN_DATA_AT_REST_ENCRYPTEDmust be true once storage encryption is enabled
SOLN_DATA_ROOTabsolute, non-root, protected directory for tenant data
RUNTIME_BIND_ADDRESS127.0.0.1 for this-computer deployments
RUNTIME_BIND_PORTInstaller-selected loopback port; prefers 8443 on this computer and 8080 on servers. This-computer port must match RUNTIME_ORIGIN.

Data Services​

VariableMeaning
DATABASE_URLPostgreSQL connection string; external databases require sslmode=verify-full
TEMPORAL_ADDRESSTemporal endpoint used by the Workflow Worker
FILES_STORAGE_BACKENDminio for the bundled or external S3-compatible storage
FILES_MINIO_ENDPOINT, FILES_MINIO_BROWSER_ENDPOINTserver and browser endpoints
FILES_MINIO_BUCKET, FILES_MINIO_ACCESS_KEY, FILES_MINIO_SECRET_KEYbucket and credentials
FILES_MINIO_SERVER_SIDE_ENCRYPTIONrequired as AES256 for external storage; configure tenant MinIO KES with Google Cloud KMS

Secrets Generated by the Installer​

Missing or placeholder values are generated automatically during installation:

  • RUNTIME_SESSION_ENCRYPTION_KEY
  • SOLN_BACKUP_ENCRYPTION_KEY
  • TENANT_RUNTIME_INTERNAL_SECRET
  • LUNA_TOOL_APPROVAL_SECRET
  • the bundled PostgreSQL and MinIO passwords in singleMachine mode

soln doctor validates the length and separation of the encryption keys, the internal secret length, the environment file permissions, and every placeholder left behind.

Tunnel​

VariableMeaning
TUNNEL_CONNECTORnone or cloudflare
CLOUDFLARE_TUNNEL_IDUUID of the Named Tunnel
CLOUDFLARE_METRICS_BIND_ADDRESS, CLOUDFLARE_METRICS_PORTloopback metrics endpoint

SOLN_DOCKER_IMAGE_STORE_PATH: the actual host path of Docker’s containerd image store, used for upgrade capacity checks. It does not configure Docker. See Storage and Capacity Management.