CorfedoCorfedoDocs

Installation settings

Settings an operator changes for the whole installation, on a single host and on Kubernetes, such as how long the audit log is kept and the storage budget.

Installation settings apply to every workspace. Workspace administrators see their effect in the browser but cannot change them.

Change a setting

  1. In the installation directory, set a .env key, for example CORFEDO_AUDIT_RETENTION=30.00:00:00. Set a platform variable on the platform service in compose.override.yaml:

    services:
      platform:
        environment:
          CORFEDO_Repositories__CredentialMasking: Always
  2. Apply it to the installed release: sh ~/corfedo/install.sh update --version "$(cat ~/corfedo/VERSION)". Changing a PostgreSQL setting stops Corfedo briefly. Other settings restart only the services they affect.

  3. Check: sh ~/corfedo/install.sh status shows the installation as ready.

To go back to the default, remove the line, then run update again.

Settings

SettingSingle hostKubernetesWhat it does
Audit log retention.env: CORFEDO_AUDIT_RETENTIONplatform.env: CORFEDO_Audit__RetentionHow long the audit log is kept, as days.hh:mm:ss, at least one day. Empty by default: no limit. Within an hour of an entry passing the limit, it is deleted, and the network address and browser stored with Corfedo AI answers of that age are cleared. The answers stay. Administrators see the limit in Settings › Privacy.
Storage budget.env: CORFEDO_STORAGE_BUDGET_GIB, 32 or the answer given at installstorage.budgetGiB, required, at least 16How many GiB the indexes may take in artifact storage
Largest build.env: CORFEDO_MAXIMUM_BUILD_BYTES, 2147483648 (2 GiB)16 GiB. The values file has no setting for it.The largest index one build may write. A larger repository fails with The repository exceeds the indexer’s limits.
Credential maskingcompose.override.yaml: CORFEDO_Repositories__CredentialMaskingplatform.env: CORFEDO_Repositories__CredentialMaskingWorkspaceChoice by default. Always requires credential masking in every workspace.
Trace levels for administratorscompose.override.yaml: CORFEDO_Ai__Traces__AdministratorLevelsplatform.env: CORFEDO_Ai__Traces__AdministratorLevelsThe highest levels All traces may show on the Privacy page, Structure, Content, Costs by default. A comma-separated list of Structure, optionally with Content and Costs, or None to turn All traces off.
Connections Corfedo openscompose.override.yaml: CORFEDO_Database__MaxConnections, 80roles.<role>.maxConnections, per pod of the roleThe most PostgreSQL connections Corfedo opens. On a single host the bundled PostgreSQL's 120 also cover the bundled Keycloak's 20 and administration.
Connections PostgreSQL accepts.env: CORFEDO_POSTGRES_MAX_CONNECTIONS, 120database.maxConnections, required: your server's max_connectionsRaise it by as much as the connections Corfedo opens. On Kubernetes, helm upgrade stops when the replicas need more, see PostgreSQL.
PostgreSQL shared buffers.env: CORFEDO_POSTGRES_SHARED_BUFFERS, 512MBYour server's setting, or postgresql.sharedBuffers with postgresql.enabledRaise it, for example to 2GB, on a host with much more memory and many repositories

On this page