config.yml file at the root of your repository is the configuration file
you’ll use to define your project’s connections and project-wide settings. The
two keys most projects need are:
databases: database connectionsmodels: foundation model connections
config.yml file is shown below:
Top-level keys
A legacy top-level
slack: block is ignored — Slack is connected per org from
the web app. admins: is also ignored; platform owners are set with the
OXY_OWNER environment variable.
Health checks
Health checks are off until a workspace opts in by adding ahealth_check:
block. Once on, Oxygen evaluates the workspace on a schedule and runs a cheap
smoke test that checks every database connection with SELECT 1. Heavier
probes are opt-in:
health_check: {} turns checks on with the defaults; enabled: false inside
the block (or inside smoke_test) turns them off again.
Environment Variables
You can use environment variables for database connection parameters instead of hardcoding values. This is recommended for production deployments and keeping sensitive data out of version control. For example:Git Branch Workflow
If your workspace is a git repository,config.yml can also configure how the
IDE handles saves on protected branches and where new feature branches fork
from (protected_branches, base_branch). See the
Branch Configuration reference for details.