Switches
Generated by scripts/docs/settings.ts. Do not edit.
Settings that turn something on or off or pick a mode. All are configurable per stack.
| Process | Key | Kind | Allowed | Default | local | staging | Defined in |
|---|---|---|---|---|---|---|---|
web | UNSET_ENV | oneOf | dev, test, prod | required | dev | dev | shared/config/schema.ts |
web | UNSET_SERVICE | oneOf | http, admin, api, indexer, media, review, jobs, audit-verify, chat-auth | required | http | http | shared/config/schema.ts |
web | TRUSTED_PROXY_MODE | oneOf | header, socket | required | socket | socket | shared/http/config.ts |
web | PG_SSLMODE | oneOf | disable, verify-full | required | disable | disable | infrastructure/postgres/config.ts |
web | NETGUARD_ALLOW_LOOPBACK | bool | true or false | false | not set | not set | shared/config/netGuard.ts |
web | OAUTH_ALLOW_HTTP | bool | true or false | false | not set | not set | infrastructure/pds/oauth/oauth-client.ts |
web | INVITE_COUNTRY_RULE | oneOf | on, off | on | not set | not set | interfaces/web/src/lib/server/config.ts |
web | INVITE_REQUESTS | oneOf | on, off | off | not set | not set | interfaces/web/src/lib/server/config.ts |
web | SEARCH_LISTING | oneOf | on, off | off | off | off | interfaces/web/src/lib/server/config.ts |
web | TEST_ROUTES | bool | true or false | false | not set | not set | interfaces/web/src/lib/server/config.ts |
indexer | UNSET_ENV | oneOf | dev, test, prod | required | dev | dev | shared/config/schema.ts |
indexer | UNSET_SERVICE | oneOf | http, admin, api, indexer, media, review, jobs, audit-verify, chat-auth | required | indexer | indexer | shared/config/schema.ts |
indexer | PG_SSLMODE | oneOf | disable, verify-full | required | disable | disable | infrastructure/postgres/config.ts |
indexer | NETGUARD_ALLOW_LOOPBACK | bool | true or false | false | not set | not set | shared/config/netGuard.ts |
indexer | INDEXER_ENABLED | bool | true or false | false | true | true | interfaces/indexer/config.ts |
migrate | UNSET_ENV | oneOf | dev, test, prod | required | dev | dev | infrastructure/postgres/migrate-cli.ts |
migrate | PG_SSLMODE | oneOf | disable, verify-full | required | disable | disable | infrastructure/postgres/config.ts |
rewrap | UNSET_ENV | oneOf | dev, test, prod | required | not in this stack | not in this stack | infrastructure/postgres/rewrap-cli.ts |
rewrap | PG_SSLMODE | oneOf | disable, verify-full | required | not in this stack | not in this stack | infrastructure/postgres/config.ts |
Switches of other services
Set in the compose files for services we run as shipped (see Process settings).
| Service | Key | local | staging |
|---|---|---|---|
newt | DISABLE_CLIENTS | not in this stack | true |
newt | DISABLE_SSH | not in this stack | true |
newt | NEWT_METRICS_PROMETHEUS_ENABLED | not in this stack | false |
newt | NEWT_PPROF_ENABLED | not in this stack | false |
pds | LOG_ENABLED | false | false |
pds | PDS_BLOBSTORE_S3_FORCE_PATH_STYLE | true | true |
pds | PDS_EMAIL_DISABLE_CONFIRMATION_LINK | true | true |
pds | PDS_INVITE_REQUIRED | true | true |
pds | PDS_RATE_LIMITS_ENABLED | false | false |