Docker compose env interpolation support
- Dominant language
- C#
- Stars
- 6.3k
- Forks
- 991
- Avg merge
- 2d 15h
- Merged PRs (30d)
- 196
Description
### Is there an existing issue for this?
- [x] I have searched the existing issues
### Is your feature request related to a problem? Please describe the problem.
Docker compose supports an [interpolation syntax](https://docs.docker.com/compose/how-tos/environment-variables/variable-interpolation/#interpolation-syntax) for dealing with environment variables. Particularly useful is the "?" operator that yields an error if the interpolated environment variables is missing. It would be great if this could be support in Aspire somehow.
### Describe the solution you'd like
https://github.com/dotnet/aspire/issues/10547 would allow us to model parameters that are required/optional. That could be easily translated into an interpolation operator in compose.
### Additional context
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.