Skip to content
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

Dev/Prod Configurations #292

Open
raphaeltm opened this issue Apr 20, 2024 · 0 comments
Open

Dev/Prod Configurations #292

raphaeltm opened this issue Apr 20, 2024 · 0 comments
Labels
DX Developer experience changes. enhancement New feature or request

Comments

@raphaeltm
Copy link
Collaborator

We need to document the best way to run different configurations in development and production. Even things like environment variables etc. Sometimes you want to add a NODE_ENV=development in dev andNODE_ENV=production in prod. We can tell people to do something like:

defang compose up -f compose.yml -f compose.defang.yml

But that's pretty annoying.

I think it would be nice if the defang CLI looked for a *compose.defang.y*ml file by default, and if it exists, use it to override values in the main compose file.

It's not a full development workflow, but I think it's a decent starting point.

@raphaeltm raphaeltm added enhancement New feature or request DX Developer experience changes. labels Apr 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DX Developer experience changes. enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant