Skip to main content
2501 uses three configuration files, all generated by the init command with sensible defaults and documentation.

Configuration Files Overview

FilePurpose
2501.yamlMain deployment configuration (registry, services, resources)
env.engineEnvironment variables for the 2501 Engine
env.command-centerEnvironment variables for the Command Center UI

2501.yaml

The main configuration file controls:
  • Registry - 2501 private ECR registry URL and authentication
  • Deploy - Target platform, image tag, stack name
  • Engine - Port, replicas, resource limits
  • Command Center - Port, replicas, resource limits
  • PostgreSQL - Optional managed database (experiments only)
  • Swarm - Network and update strategy settings
The generated 2501.yaml file includes inline comments documenting all available options and their defaults.

Registry Types

TypeDescription
ecr-loginAWS ECR with credential helper. Required because ECR tokens expire every 12 hours, and 2501 needs to pull fresh images when launching new agents.
genericStandard Docker registry with username/password

env.engine

Environment variables for the 2501 Engine service, including:
  • Database connection (required)
  • Security keys (auto-generated)
  • LLM provider API keys
  • Optional integrations (Redis, Elasticsearch, Vault, AWS)
Contact your Account Executive at 2501 for the list of supported LLM providers and their configuration.

env.command-center

Environment variables for the Command Center UI, including:
  • Database connection
  • Engine connection URL and API key
  • Authentication secrets (auto-generated)
  • Base URL configuration
The ENGINE_API_KEY and CREDENTIAL_ENCRYPTION_KEY must match between both environment files.

Generating Configuration

Use the init command to generate all configuration files:
2501-infra init -t swarm --no-postgres
The generated files include documentation for all available options. For command details:
2501-infra init -h