Environment variables

Manage

Option

Description

Default

APP_URL

The URL where your Investbrain installation will be accessible

http://localhost

APP_PORT

The HTTP port exposed by the NGINX container

8000

MARKET_DATA_PROVIDER

The market data provider to use (either yahoo, alphavantage, or finnhub)

yahoo

ALPHAVANTAGE_API_KEY

If using the Alpha Vantage provider

null

FINNHUB_API_KEY

If using the Finnhub provider

null

MARKET_DATA_REFRESH

Cadence to refresh market data in minutes

30

APP_TIMEZONE

Timezone for the application, including daily change captures

UTC

AI_CHAT_ENABLED

Whether to enable AI chat features

false

OPENAI_API_KEY

OpenAI secret key (required for AI chat)

null

OPENAI_ORGANIZATION

OpenAI org id (required for AI chat)

null

OPENAI_MODEL

The selected LLM used for AI chat

gpt-4o

OPENAI_BASE_URI

The URI for your self-hosted LLM

api.openai.com/v1

DAILY_CHANGE_TIME

The time of day to capture daily change

23:00

REGISTRATION_ENABLED

Whether to enable registration of new users

true

Updated on