Skip to content

feat: add .dokploy.json local project config and init command#26

Open
megamattron wants to merge 2 commits intoDokploy:mainfrom
megamattron:feat/local-project-config
Open

feat: add .dokploy.json local project config and init command#26
megamattron wants to merge 2 commits intoDokploy:mainfrom
megamattron:feat/local-project-config

Conversation

@megamattron
Copy link

Summary

  • Adds dokploy init command to interactively create a .dokploy.json config file in the current directory
  • All commands now read .dokploy.json (walking up parent directories) to fill in missing projectId, environmentId, and applicationId before prompting
  • CLI flags always take priority over config file values
  • Updates README with a new Project Configuration section

Closes #25

Add a per-directory .dokploy.json config file that stores projectId,
environmentId, and applicationId defaults. Commands read this file
(walking up parent dirs) before falling into interactive prompts,
allowing non-interactive usage from project folders.

Includes `dokploy init` command to create the config interactively.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add .dokploy.json local project config to skip interactive prompts

1 participant