New issue
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
Feature Request: Implement config:import Command for Configuration from .env File #6846
Comments
I think we should also handle:
|
Hey i am have some interest working on this issue. @lasroun what format do you have in mind for the |
@PapePathe i think we already import a goenv library, so whatever format that supports is probably lowest friction. |
Great, i will look into the source code and see where i can start. |
Can you assign the story to me please. Also i have a couple of questions. On my fork i have the version with How do you feel about that? Does the
|
Description of feature
Background:
Currently, setting environment variables in Dokku for an app involves using the dokku config:set command. This method works well for configuring a small number of variables but becomes cumbersome when dealing with a large number of environment variables.
Proposal:
I propose adding a new command, config:import, to the Dokku CLI. This command would allow users to import environment variables from a .env file directly into the Dokku app's configuration. This feature would greatly simplify the process of configuring apps, especially during initial setups or when migrating apps to Dokku.
Expected Behavior:
Example Command:
dokku config:import <app-name> /path/to/.env
The text was updated successfully, but these errors were encountered: