Skip to content

Configuration

Faxart is configured through a .env file read by Docker Compose. The guiding principle: every integration is off by default and becomes active only when its credentials are present. An unconfigured subsystem no-ops rather than erroring, so you can bring the stack up with almost nothing set and light features up one at a time.

The keys below use placeholder values. Replace them with your own; never commit real secrets.

KeyPurpose
COMPOSE_PROJECT_NAMECompose project namespace. Keep it unique per host.
POSTGRES_USER / POSTGRES_PASSWORD / POSTGRES_DBDatabase credentials.
APP_DOMAIN / MARKETING_DOMAIN / DOCS_DOMAINPublic hostnames for the app, marketing site, and docs.

A single read-only service account resolves who owns which fax number.

KeyPurpose
AD_LDAP_URLe.g. ldaps://dc.example.com:636
AD_BIND_DNThe read-only service account DN.
AD_BIND_PASSWORDIts password (move to a secret at go-live).
AD_BASE_DNSearch base, e.g. DC=example,DC=com.

Leaving AD_BIND_PASSWORD empty makes the directory inert: the dialplan builder writes an empty include, so nothing errors and no numbers are answered.

KeyPurpose
SAML_IDP_METADATA_URLYour identity provider’s metadata URL.
SAML_SP_ENTITY_ID / SAML_SP_ACS_URL / SAML_SP_SLS_URLThe service-provider URLs, derived from APP_DOMAIN.
SAML_ADMIN_GROUPGroup whose members are admins.
SAML_AUTO_APPROVER_GROUPGroup whose members may engage auto-mode.

OCR, classification, transcription, and rule evaluation run against an on-prem inference gateway. No page image ever leaves your network.

KeyPurpose
GPU_GATEWAY_URLYour on-prem inference endpoint.
GPU_API_KEYBearer key. Empty means classification no-ops; faxes are held.
GPU_VISION_MODEL / GPU_TEXT_MODEL / GPU_TRANSCRIBE_MODELModel names.
KeyPurpose
FAXART_SMTP_DOMAINAccept-domain for inbound email-to-fax.
FAXART_SMTP_ALLOWED_IPSSource-IP allowlist for the intake. Set before exposing it.
FAXART_SMTP_RELAY_HOST / _PORTOutbound relay for receipts and fax-to-email.
FAXART_EMAIL_INTERNAL_DOMAINSInternal-only delivery; PHI does not leave the tenant.
KeyPurpose
MEDITECH_SFTP_KEYPath to the SFTP private key (a mounted secret).

Host, user, path, host key, and processing ID are set in the app’s MEDITECH settings, not the environment.

KeyPurpose
AUTO_WINDOWSize of the trailing decision window.
AUTO_N_MINMinimum samples before a rule can be eligible.
AUTO_AGREE_MINMinimum agreement rate with human reviewers.
AUTO_CLEAN_STREAKRequired clean recent streak.
AUTO_CONFIDENCE_FLOORPer-fax confidence floor for an auto-route.

Printing (SAMBA_PRINT_*), the LDAP directory (FAXART_LDAP_*), self-service DID provisioning (AD_WRITE_*), web push (VAPID_*), and archive search (GPU_EMBED_*) follow the same off-until-configured pattern.