-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Description
Currently every command requires either passing --projectId/--environmentId/--applicationId flags or going through interactive selection each time. It would be useful to have a per-directory config file that stores these defaults.
Proposed feature
A .dokploy.json file that can be placed in any project directory:
{
"projectId": "abc123",
"environmentId": "def456",
"applicationId": "ghi789"
}A new dokploy init command to create it interactively, and all existing commands would read this file (walking up parent directories) to fill in missing flags before prompting.
Example usage
$ cd ~/my-app
$ dokploy init # select project/environment/app once
$ dokploy app deploy -y # no prompts needed
$ dokploy env pull .env # knows which project/environment to useCLI flags would always take priority over .dokploy.json values.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels