Merged
Conversation
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What is the feature/update/fix?
Feature: Add Support for Application Configuration Files
This update introduces app config support, allowing users to manage configuration files directly within Convox without triggering a new release. Configuration updates can be applied dynamically via the CLI, but services may require a restart to load new values.
Why is this important?
Common Use Cases
log-level: debug) for troubleshooting without redeploying services.How to Use It
Listing Available Configurations
To view existing configs for an application:
Retrieving Configuration Contents
To get the contents of a specific config file:
Updating a Configuration File
To update an existing configuration file:
Mounting Config Files in a Service
To specify config mounts in
convox.yml:In this example:
convox-settingsconfig file is mounted at/app/convox/settings/settings.convox.phpcustom-settingsconfig file is mounted at/app/convox/custom/settings.custom.phpDoes it have a breaking change?
No breaking changes are introduced with this update.
Requirements
To use this update, you must be on at least version
3.19.7for both the CLI and the rack.Update the CLI: Run
convox updateto update your CLI to the latest version. You can verify your CLI version withconvox version.For a minor version update, you must manually update your rack with the command
convox rack update 3.19.7 -r rackName.You must be on at least rack version
3.18.0to perform this update.If you are already on minor version
3.19.x, you can simply runconvox rack update -r rackName.If you are unfamiliar with v3 rack versioning, we advise checking the documentation Updating a Rack for more information before applying any updates.