app-config.yamlapp-config.local.yamlapp-config.production.yaml
Configuration Overview
| Config File | Environment | Purpose |
|---|---|---|
app-config.yaml | All | Shared defaults for every deployment |
app-config.local.yaml | Local development | Overrides for your local machine |
app-config.production.yaml | Production | Overrides for live, production instances |
1. app-config.yaml
This is the base configuration loaded in every environment. Put settings here that do not change between development, staging, and production, such as your app title, organization name, and common backend options. Exampleapp-config.yaml:
2. app-config.local.yaml
Use this file for local development overrides. When you runyarn dev, Backstage merges these settings on top of app-config.yaml so you can point to localhost endpoints and use personal API keys.
app-config.local.yaml merges with (and overrides) the base settings in app-config.yaml—ideal for local tweaks.app-config.local.yaml:
Do not commit
app-config.local.yaml to version control—it may contain sensitive credentials or machine-specific settings.3. app-config.production.yaml
Define production-specific overrides here. Backstage will merge this file withapp-config.yaml when running in a production mode (e.g., NODE_ENV=production yarn start).
app-config.production.yaml replaces or extends base settings for your live environment.You can reference environment variables (e.g.,
${HOST}) to avoid hard-coding secrets.