Runway provides a powerful CLI tool for managing application configuration that seamlessly integrates with modern development workflows.
Through the runway app config
command suite, developers can easily set, update, import, and remove configuration variables for their applications.
The CLI supports individual variable management with commands like runway app config set PORT=8080
as well as bulk operations through runway app config import
for .env
files, making it effortless to maintain consistent environments across development and production.
All configuration settings managed through Runway’s CLI are automatically injected into running applications as environment variables, adhering to 12-factor application principles.
This approach ensures that configuration remains separate from code, enabling applications to be truly portable across different environments without requiring code changes.
Configuration variables are available during both the build process and runtime, giving developers maximum flexibility in how they structure their applications while maintaining security through encryption at rest and TLS protection in transit.
The configuration system is designed for operational efficiency, with changes requiring either an application restart via runway app restart
or a complete redeployment to take effect. This deliberate approach ensures configuration changes are applied consistently and safely, preventing unexpected behavior in production environments while maintaining the reliability that modern applications require.
To learn more about different use cases, please see the guides or one of the language specific examples.