Environment Variables

April 8, 2026 ยท View on GitHub

Environment VariableConfig Name(name on the config file)Description
PORT.portApplication port
OC_ENV.envApplication Environment variable
ENABLE_SERVICE_SERVER.services.serverEnable server service
ENABLE_SERVICE_SEARCH_SYNC.services.searchSyncEnable search sync service
MAILPIT_CLIENT.mailpit.clientMailpit client configuration
OPENSEARCH_URL.opensearch.urlOpenSearch URL
OPENSEARCH_MAX_SYNC_DELAY.opensearch.maxSyncDelayMaximum sync delay for OpenSearch
OPENSEARCH_INDEXES_PREFIX.opensearch.indexesPrefixPrefix for OpenSearch indexes
PG_URL.database.urlPostgres database URL
PG_DATABASE.database.override.databasePostgres database name
PG_USERNAME.database.override.usernamePostgres database username
PG_PASSWORD.database.override.passwordPostgres database password
PG_HOST.database.override.hostPostgres database host
PG_PORT.database.override.portPostgres database port
PG_MIN_CONNECTIONS.database.options.pool.minPostgres number of min connections
PG_MAX_CONNECTIONS.database.options.pool.maxPostgres number of max connections
DATABASE_READ_ONLY.database.readOnlyDatabase read-only mode
APOLLO_KEY.graphql.apollo.keyApollo GraphQL key
APOLLO_GRAPH_REF.graphql.apollo.graphRefApollo GraphQL graph reference
GRAPHQL_CACHE_ENABLED.graphql.cache.enabledEnable GraphQL cache
GRAPHQL_CACHE_TTL.graphql.cache.ttlGraphQL cache TTL
GRAPHQL_CACHE_MIN_EXECUTION_TIME_TO_CACHE.graphql.cache.minExecutionTimeToCacheMinimum execution time to cache GraphQL queries
GRAPHQL_ERROR_DETAILED.graphql.error.detailedEnable detailed GraphQL errors
GRAPHQL_REJECT_ON_MAX_COMPLEXITY.graphql.rejectOnMaxComplexityWhether to throw an error when the query exceeds max complexity
GRAPHQL_RESOLVER_TIME_DEBUG.graphql.resolverTimeDebugWarningEnable GraphQL resolver time debug warnings
MEMCACHE_SERVERS.memcache.serversMemcache servers
MEMCACHE_USERNAME.memcache.usernameMemcache username
MEMCACHE_PASSWORD.memcache.passwordMemcache password
REDIS_URL.redis.serverUrlRedis server URL
REDIS_TIMELINE_URL.redis.serverUrlTimelineRedis timeline URL
REDIS_SESSION_URL.redis.serverUrlSessionRedis session URL
API_KEY.keys.opencollective.apiKeyThe API KEY
PDF_SERVICE_API_KEY.keys.opencollective.pdfApiKeyThe API KEY
SESSION_SECRET.keys.opencollective.sessionSecretSession secret
JWT_SECRET.keys.opencollective.jwtSecretJWT secret
EMAIL_UNSUBSCRIBE_SECRET.keys.opencollective.emailUnsubscribeSecretEmail unsubscribe secret
HASHID_SALT.keys.opencollective.hashidSaltHashid salt
LOG_LEVEL.log.levelLogging level
ACCESS_LOGS.log.accessLogsEnable access logs
SLOW_REQUEST.log.slowRequestEnable slow request logging
SLOW_REQUEST_THRESHOLD.log.slowRequestThresholdSlow request threshold
LOG_SLOW_MIDDLEWARE.log.slowMiddlewareEnable slow middleware logging
LOG_SLOW_MIDDLEWARE_THRESHOLD.log.slowMiddlewareThresholdSlow middleware threshold (in milliseconds)
GOCARDLESS_SECRET_ID.gocardless.secretIdGoCardless secret ID
GOCARDLESS_SECRET_KEY.gocardless.secretKeyGoCardless secret key
PLAID_CLIENT_ID.plaid.clientIdPlaid client ID
PLAID_SECRET.plaid.secretPlaid secret
PLAID_ENV.plaid.envPlaid environment
STRIPE_SECRET.stripe.secretStripe secret
STRIPE_KEY.stripe.keyStripe key
STRIPE_CLIENT_ID.stripe.clientIdStripe Client id
STRIPE_WEBHOOK_SIGNING_SECRET.stripe.webhookSigningSecretStripe webhook signing secret
STRIPE_PAYMENT_INTENT_ENABLED.stripe.paymentIntentEnabledEnable Stripe payment intent
STRIPE_ONETIME_PAYMENT_METHOD_CONFIGURATION.stripe.oneTimePaymentMethodConfigurationStripe one-time payment method configuration
STRIPE_RECURRING_PAYMENT_METHOD_CONFIGURATION.stripe.recurringPaymentMethodConfigurationStripe recurring payment method configuration
AWS_KEY.aws.s3.keyAWS key
AWS_SECRET.aws.s3.secretAWS secret
AWS_S3_BUCKET.aws.s3.bucketAWS s3 bucket to send files
AWS_S3_REGION.aws.s3.regionAWS S3 region
AWS_S3_API_VERSION.aws.s3.apiVersionAWS S3 API version
AWS_S3_ENDPOINT.aws.s3.endpointAWS S3 endpoint
AWS_S3_SSL_ENABLED.aws.s3.sslEnabledAWS S3 SSL enabled
AWS_S3_FORCE_PATH_STYLE.aws.s3.forcePathStyleAWS S3 force path style
CLOUDFLARE_KEY.cloudflare.keyCLOUDFLARE key
CLOUDFLARE_EMAIL.cloudflare.emailCLOUDFLARE email
CLOUDFLARE_ZONE.cloudflare.zoneCLOUDFLARE zone
KLIPPA_API_KEY.klippa.apiKeyThe API key for Klippa
KLIPPA_ENABLED.klippa.enabledWhether Klippa is enabled
PAYPAL_ENVIRONMENT.paypal.payment.environmentPayPal payment environment
PAYPAL_CLIENT_ID.paypal.connect.clientIdPayPal client ID
PAYPAL_CLIENT_SECRET.paypal.connect.clientSecretPayPal client secret
PAYPAL_CONNECT_REDIRECT_URI.paypal.connect.redirectUriPayPal connect redirect URI
MAILGUN_USER.mailgun.userMailgun user
MAILGUN_PASSWORD.mailgun.passwordMailgun password
MAILGUN_API_KEY.mailgun.apiKeyMailgun API key
API_URL.host.apiAPI exposed url
IMAGES_URL.host.imagesImages URL
FRONTEND_URL.host.frontendURL of the frontend service
WEBSITE_URL.host.websiteWebsite URL
PDF_SERVICE_URL.host.pdfPDF service V2 URL
REST_URL.host.restREST service URL
ORDERS_LIMIT_ACCOUNT.limits.ordersPerHour.perAccountOrders limit per account
ORDERS_LIMIT_ACCOUNT_COLLECTIVE.limits.ordersPerHour.perAccountForCollectiveOrders limit per account for collective
ORDERS_LIMIT_EMAIL.limits.ordersPerHour.perEmailOrders limit per email
ORDERS_LIMIT_EMAIL_COLLECTIVE.limits.ordersPerHour.perEmailForCollectiveOrders limit per email for collective
ORDERS_LIMIT_IP.limits.ordersPerHour.perIpOrders limit per IP
ORDERS_LIMIT_MASK.limits.ordersPerHour.perMaskOrders limit per mask
ORDERS_LIMIT_COLLECTIVE.limits.ordersPerHour.forCollectiveOrders limit for collective
ORDERS_LIMIT_SKIP_CLEAN_SLUGS.limits.skipCleanOrdersLimitSlugsSkip clean orders limit slugs
ORDERS_LIMIT_ENABLED_MASKS.limits.enabledMasksEnabled masks for orders limit
SLACK_WEBHOOK_ABUSE.slack.webhooks.abuseSlack abuse webhook URL
SLACK_WEBHOOK_ENGINEERING_ALERTS.slack.webhooks.engineeringAlertsSlack engineering alerts webhook URL
GITHUB_CLIENT_ID.github.clientIDGitHub client ID
GITHUB_CLIENT_SECRET.github.clientSecretGitHub client secret
FIXER_ACCESS_KEY.fixer.accessKeyFixer access key
FIXER_DISABLE_MOCK.fixer.disableMockDisable Fixer mock
CAPTCHA_ENABLE.captcha.enabledEnable CAPTCHA
RECAPTCHA_SITE_KEY.recaptcha.siteKeyreCAPTCHA site key
RECAPTCHA_SECRET_KEY.recaptcha.secretKeyreCAPTCHA secret key
HCAPTCHA_SECRET.hcaptcha.secrethCaptcha secret
HCAPTCHA_SITEKEY.hcaptcha.sitekeyhCaptcha site key
TURNSTILE_SECRET.turnstile.secretKeyTurnstile secret key
TAX_FORMS_ENCRYPTION_KEY.taxForms.encryptionKeyBase64 encoded secret key for encrypting document before storage
TAX_FORMS_AWS_S3_BUCKET.taxForms.aws.s3.bucketThe bucket where tax forms will be uploaded
GITHUB_FLOW_MIN_NB_STARS.githubFlow.minNbStarsMinimum number of Github stars required to apply to the open source collective
TRANSFERWISE_API_URL.transferwise.apiUrlTransferWise API URL
TRANSFERWISE_OAUTH_URL.transferwise.oauthUrlTransferWise OAuth URL
TRANSFERWISE_CLIENT_KEY.transferwise.clientKeyTransferWise client key
TRANSFERWISE_CLIENT_ID.transferwise.clientIdTransferWise client ID
TRANSFERWISE_CLIENT_SECRET.transferwise.clientSecretTransferWise client secret
TRANSFERWISE_REDIRECT_URI.transferwise.redirectUriTransferWise redirect URI
TRANSFERWISE_PRIVATE_KEY.transferwise.privateKeyTransferWise private key
TRANSFERWISE_BLOCKED_COUNTRIES.transferwise.blockedCountriesTransferWise blocked countries
TRANSFERWISE_BLOCKED_CURRENCIES.transferwise.blockedCurrenciesTransferWise blocked currencies
TRANSFERWISE_BLOCKED_CURRENCIES_BUSINESS.transferwise.blockedCurrenciesForBusinessProfilesTransferWise blocked currencies for business profiles
TRANSFERWISE_BLOCKED_CURRENCIES_NONPROFIT.transferwise.blockedCurrenciesForNonProfitsTransferWise blocked currencies for non-profits
TRANSFERWISE_BLOCKED_RECIPIENT_TYPES_BUSINESS.transferwise.recipientTypesBlockedForBusinessProfilesTransferWise blocked recipient types for business profiles
TRANSFERWISE_USE_TRANSFER_REFUND_HANDLER.transferwise.useTransferRefundHandlerUse TransferWise transfer refund handler
HYPERWATCH_ENABLED.hyperwatch.enabledEnable Hyperwatch
HYPERWATCH_PATH.hyperwatch.pathHyperwatch path
HYPERWATCH_REALM.hyperwatch.realmHyperwatch realm
HYPERWATCH_USERNAME.hyperwatch.usernameHyperwatch username
HYPERWATCH_SECRET.hyperwatch.secretHyperwatch secret
DB_ENCRYPTION_SECRET_KEY.dbEncryption.secretKeyDatabase encryption secret key
DB_ENCRYPTION_CIPHER.dbEncryption.cipherDatabase encryption cipher
FETCH_TRANSACTIONS_RECEIPTS.pdfService.fetchTransactionsReceiptsFetch transactions receipts
FETCH_COLLECTIVE_TRANSACTIONS_CSV.restService.fetchCollectiveTransactionsCsvFetch collective transactions CSV
FETCH_HOST_TRANSACTIONS_CSV.restService.fetchHostTransactionsCsvFetch host transactions CSV
SENTRY_DSN.sentry.dsnSentry DSN
SENTRY_TRACES_SAMPLE_RATE.sentry.tracesSampleRatePercentage of collected transactions to send to Sentry
SENTRY_PROFILES_SAMPLE_RATE.sentry.profilesSampleRateSentry profiles sample rate
SENTRY_MIN_EXECUTION_TIME_TO_SAMPLE.sentry.minExecutionTimeToSampleMinimum execution time to sample for Sentry
LEDGER_FAST_BALANCE.ledger.fastBalanceEnable fast balance for ledger
LEDGER_SEPARATE_PAYMENT_PROCESSOR_FEES.ledger.separatePaymentProcessorFeesSeparate payment processor fees in ledger
LEDGER_SEPARATE_TAXES.ledger.separateTaxesSeparate taxes in ledger
LEDGER_ORDERED_TRANSACTIONS.ledger.orderedTransactionsOrdered transactions in ledger
TIMELINE_DAYS_CACHED.timeline.daysCachedNumber of days cached in timeline
TIMELINE_DISABLED.timeline.disabledDisable timeline
SKIP_TRANSACTION_ACTIVITIES.activities.skipTransactionsSkip transaction activities
LEGACY_TRANSACTIONS_ACTIVITY_COLLECTIVE_IDS.activities.legacyTransactionsCollectiveIdsList of collective ids for which to generate legacy transaction.created activities
TWO_FACTOR_AUTHENTICATION_ENABLED.twoFactorAuthentication.enabledEnable two-factor authentication
FRAUD_ORDER_USER.fraud.order.userFraud order user settings
FRAUD_ORDER_CARD.fraud.order.cardFraud order card settings
FRAUD_ORDER_EMAIL.fraud.order.emailFraud order email settings
FRAUD_ORDER_IP.fraud.order.ipFraud order IP settings
FRAUD_PROTECTION_SUSPEND_ASSET.fraud.enforceSuspendedAssetEnforce suspended asset for fraud protection
GITBOOK_API_KEY.gitbook.apiKeyGitBook API key
OPENTELEMETRY_ENABLED.opentelemetry.enabledEnable OpenTelemetry
SETTLEMENT_MINIMUM_AMOUNT_IN_USD.settlement.minimumAmountInUSDMinimum settlement amount in USD
NEW_PRICING.features.newPricingNew pricing feature