Getting Started
Local development and demo only: The Docker Compose instructions in this guide are intended exclusively for isolated local development and demonstrations. Do not use this setup unchanged for production or test systems; those systems require a separate, non-public and appropriately secured deployment procedure.
- Install uv: https://docs.astral.sh/uv/getting-started/installation/
- Install Node.js 22+
⚙️ Configure the environment
Configuration is done via YAML configuration files (primary) with optional environment variable overrides.
Each service reads a config.yaml mounted into the container. Environment variables can override any YAML setting using a service-specific prefix and __ (double underscore) as the nested delimiter.
YAML keys are lowercase (e.g. models:, redis:, host:, password:). Environment variable names stay UPPERCASE — they are matched case-insensitively against the settings, so existing env vars remain valid.
| Service | YAML file (in stack/) | Env Prefix |
|---|---|---|
| core-service | core.config.yaml | MUCGPT_CORE_ |
| assistant-service | assistant.config.yaml | MUCGPT_ASSISTANT_ |
| assistant-migrations | assistant.config.yaml | MUCGPT_ASSISTANT_ |
Migration notes (from older versions):
- Lowercase your
config.yamlkeys (e.g.models:,redis:,host:,password:). Most legacy UPPERCASE YAML keys are ignored — but a top-levelSSO:section andROLE/ADMIN_ROLEunderssofail startup validation with an actionable error, because silently ignoring them would disable the SSO role check. Other mistakes also fail loudly at startup (missing required database fields, empty models list).- Move model connection settings into a
providerssection and reference it from each model viaprovider: <key>(see Models Configuration). Inlinetype/endpoint/api_key/api_versiononmodels[]entries are rejected at startup with a pointer to the new scheme.- Replace
MUCGPT_CORE_LANGFUSE__*environment variables with the standardLANGFUSE_PUBLIC_KEY/LANGFUSE_SECRET_KEY/LANGFUSE_HOST— the old prefixed variables are silently ignored (see Secrets).- Replace
MUCGPT_ASSISTANT_DATABASE_URLwith nested DB settings such asMUCGPT_ASSISTANT_DB__HOST,__NAME,__USER, and__PASSWORD. The full-URL override is no longer supported; missing nested settings fail migration startup with an actionable error.- Remove
MIGRATION_SHOW_SQLfrom assistant migration Jobs. It is no longer supported and is ignored.
🚀 Initial Setup
cd stack
cp .env.example .env
cp core.config.yaml.example core.config.yaml
cp assistant.config.yaml.example assistant.config.yaml📚 Operations guides
| Guide | Contents |
|---|---|
| Configuration | Secrets, configuration priority, env overrides, data storage |
| Models | Providers and models (YAML or environment variables), model_info fields |
| Prompts | Langfuse prompt configuration and local fallback prompts |
| Documents | Document parsing, sensitive-content guardrails, virtual filesystem |
| Transcription | Browser-based speech-to-text (beta) |
| Canvas HTML whitelist | Raw HTML tags allowed on the canvas |
| LDAP | Department tree for assistant publishing |
| SSO | OpenID Connect roles and claims |
| MCP | MCP tool sources and tool call budgets |
| Docker stack | Local Compose stack, prebuilt images, database migration ordering |
| Troubleshooting | Common failure modes |