Operations

Configuration

Complete environment variable reference for Mise.

Docker Compose reads variables from .env next to compose.yml. When running the image another way, pass the same values through the platform's environment or secret manager.

Application

VariableDefaultPurpose
JWT_SECRETRequiredSigns authentication cookies. Generate with openssl rand -hex 32.
WEB_ORIGINhttp://localhost:3000Exact URL users open; also the OAuth issuer for MCP.
APP_PORT3000Host port published by the reference Compose deployment.
COOKIE_SECUREInferredOverrides whether authentication cookies require HTTPS.
PUBLIC_LIBRARY_URLOfficial Mise libraryURL of a compatible list.json recipe catalog.
AUTO_MIGRATEtrue in the imageSynchronizes the Prisma schema during startup.

PostgreSQL

VariableDefault in ComposePurpose
DATABASE_URLConstructed automaticallyFull PostgreSQL connection URL used by the application.
POSTGRES_USERmiseDatabase user created by the Compose service.
POSTGRES_PASSWORDmiseInternal Compose database password.
POSTGRES_DBmiseDatabase name.

The reference Compose database is not published to the host, so its defaults are isolated inside the Compose network. Use stronger credentials whenever the database is reachable beyond that network.

Meilisearch

VariableDefault in ComposePurpose
MEILI_URLhttp://meilisearch:7700Search service URL used by the application.
MEILI_MASTER_KEYIncluded internal defaultKey shared by Mise and Meilisearch. Must be at least 16 bytes.

Development-only conveniences

VariableDefaultPurpose
POSTGRES_PORT5432Host port for development PostgreSQL.
ADMINER_PORT8080Host port for Adminer.
MEILI_PORT7700Host port for development Meilisearch.
VITE_API_URLEmptyMakes the frontend call a different API origin.

An https:// WEB_ORIGIN automatically produces secure cookies. An http:// origin supports local networks and homelabs without TLS. Do not include a trailing slash.

WEB_ORIGIN=https://mise.example.com

Changing the hostname without updating WEB_ORIGIN commonly causes sign-in and MCP OAuth failures.

On this page