Skip to main content

Configuration overview

You configure FINOS Workspace with environment variables, one set for each kind of service, and a few files. This page shows which service reads what, which values have to match between services, and where to find the full lists.

Where each service reads its settings​

ServiceWhat it readsOn the local stackFull table
API, worker and init stepEnvironment variables with the names of the settings, without a prefix and without regard to case. A setting without a default is required, and so are the settings that the choice of DATABASE_TYPE and STORAGE_PROVIDER calls for, such as the database accounts with MySQL or the key for links to files with file storage in a folder. The process does not start without them.backend-api/backend/envs/.envBackend settings
The agent and its MCP serverEnvironment variables. The table says which of the two processes reads each one.agent/.env, from the template agent/.env.exampleThe agent and its MCP server
Web appThe environment of its container, which nginx writes into /config.js each time that the container starts. A variable that is not set leaves its setting at the default, and a value that does not fit its type makes /config.js and /healthz answer with status 500.The environment of the service web in docker-compose.ymlWeb app configuration

A few settings of the web app are fixed when its image is built, such as the name of the app that people install on their devices. White label lists them.

Settings that must agree​

SettingMust match
SELFURL of the APIBACKEND_URL of the web app and WORKSPACE_PUBLIC_URL of the agent: the API's public address.
APPURL and FRONTENDURL of the APIThe web app's address. Its origin is also WORKSPACE_ORIGIN of the agent and one of the origins in AGENT_CORS_ORIGINS.
BACKEND_CORS_ORIGINS of the APIIt includes the web app's origin, which the agent and its MCP server also send as WORKSPACE_ORIGIN.
AI_API_URL of the web appThe public address of the agent.
WORKSPACE_AES_KEY, JWT_SECRET and LOCAL_STORAGE_SECRET_KEYThe same in every API and worker container.
AGENT_METERING_TOKEN of the agentSigned with the API's JWT_SECRET.
AGENT_SCOPE_SECRETThe same in the agent and in its MCP server.
REDIS_URL of the agent and its MCP serverNot needed with one replica of each. Several replicas need the same Valkey or Redis server, which may be the one of the API.

Serve FINOS Workspace over HTTPS and set the addresses explains the addresses, and Production setup the secrets.

Files​

FileRead byGuide
scripts/cfgs/config.tomlThe init step, which creates the first organization and administrators from itRun database migrations
user_create.jsonThe API and the worker. The init step writes it, and DEFAULT_USER_MAPPING stands in for it where they cannot see itDeploy on Kubernetes
A file that describes an organizationThe script that provisions organizationsProvision an organization from a file
A theme stylesheetThe web app, at the address that WL_STYLESHEET givesCreate a theme
The certificates for the databaseThe API and the worker, at the paths that SSL_CA, SSL_CERT and SSL_KEY giveConnect FINOS Workspace to its database and cache

Settings by task​