We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
an application which has multiple mode such as web, api, admin, batch and so on, often requires different values on same ENV key.
case @mode when :web DATABASE_URL = 'masterdb' when :batch DATABASE_URL = 'slavedb' end
current secret_env cannot switch value dynamically
DATABASE_URL: "user@{masterdb}"
so we have to put each keys
WEB_DATABASE_URL = 'masterdb' BATCH_DATABASE_URL = 'slavedb'
The text was updated successfully, but these errors were encountered:
No branches or pull requests
an application which has multiple mode such as web, api, admin, batch and so on, often requires different values on same ENV key.
current secret_env cannot switch value dynamically
so we have to put each keys
The text was updated successfully, but these errors were encountered: