Skip to main content
Every setting is an environment variable read at start. A missing or invalid value stops the process with a message that names the variable.

Server

The server routes requests by Host and answers /healthz and /readyz on any host. tablepro-cloud healthcheck GETs /healthz on the LISTEN port and exits 1 unless it answers 200 within 5 seconds: use it as the container’s health check, since the image has no shell. /healthz does not check the database, so a database outage restarts nothing; /readyz does, for a load balancer.

Client address

The server keys its rate limits by the client’s address. CLIENT_ADDRESS says where that address comes from, and it is required. CLIENT_ADDRESS_TRUSTED_CIDRS is a comma-separated list of the proxies’ own prefixes, such as 10.0.1.0/24,10.0.2.0/24. A request from any other peer is keyed by the peer, whatever headers it sends.
List only the proxies’ addresses, never a range clients are in. A client inside a trusted range sets its own rate-limit key.

Identity provider

Set exactly one of OIDC_ISSUER and SAML_IDP_ENTITY_ID. That choice picks the protocol. Sign-in has the IdP side of each. An IdP behind a private CA: set SSL_CERT_FILE to a bundle that holds the public roots and that CA, or SSL_CERT_DIR to a directory of them, mounted into the container. On Fargate that takes an image built FROM this one by digest, with the bundle added.

Sessions

Durations take Go’s form: 90m, 10h, 168h. Sign-in covers what ends a session.

Keys

TABLEPRO_CREDENTIALS holds the server’s keys as one JSON object, from each credential’s name to the file’s contents. Image and keys makes it. serve refuses to start without oauth-access, entitlement and an identity-tokens.<n>. CREDENTIALS_DIRECTORY, a directory with one file per credential named after it, takes its place when set.

Refused settings

The server stops when one of tablepro.app’s own settings is set, so a copied configuration cannot reach an outside service: POLAR_*, SES_*, NEWSLETTER_LINK_KEY, POSTHOG_API_KEY, POSTHOG_HOST, TURNSTILE_*, CRISP_WEBSITE_ID, GITHUB_TOKEN, WATCHDOG_PING_URL, APPLE_*, GITHUB_CLIENT_*, GOOGLE_CLIENT_*, PASSKEY_*, LEGACY_*, LICENSE_MACHINE_BINDING_* and SHARE_CREATE_DISABLED. OIDC_ADMIN_GROUP_ID and OIDC_DISPLAY_NAME stop it too: they are now IDP_ADMIN_GROUP_ID and IDP_DISPLAY_NAME.