Skip to content

Environment reference

Quickstart .env (compose-level)

VariableRequiredDefaultPurpose
MICHI_ADMIN_PASSWORDyes-Operator login at /admin
MICHI_CHAT_LITELLM_KEYyes-Shared app ↔ LiteLLM key; any long random string
MICHI_DB_PASSWORDyes-Postgres password (internal to the compose network)
MICHI_PORTno3001Host port for the app
OLLAMA_API_BASEnohttp://host.docker.internal:11434Where LiteLLM finds Ollama
OPENAI_API_KEY / DASHSCOPE_API_KEYno-Hosted-provider keys, referenced from litellm.config.yaml
MICHI_IMAGEnoghcr.io/beany-vu/michi-chat:latestRun a locally built image instead

App-level variables (set by the compose file)

You only touch these when deploying without the provided compose file.

VariableDefaultPurpose
DATABASE_URL- (required)Postgres DSN; the container refuses to guess
LITELLM_BASE_URLhttp://localhost:4000/v1The proxy endpoint
LITELLM_API_KEYsk-michi-devKey presented to the proxy
ADMIN_PASSWORD- (login impossible if unset)Operator password
CHAT_MODELmichiDefault chat alias (a tenant's model override wins)
EMBED_MODELembedEmbedding alias
DEFAULT_TENANT_SLUGmugshotWhich tenant / redirects to

Ports

PortServiceExposed
3001 (host) → 3000applocalhost only
4000LiteLLMnot published in the quickstart
5432Postgresnot published in the quickstart