TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: Convert between .NET Core appsettings and Docker Compose variables

2 点作者 johnnyRose大约 5 年前

1 comment

johnnyRose大约 5 年前
Hello! My team is currently creating microservices written in .NET Core. A lot of my teammates don&#x27;t commit appsettings in their .NET Core microservices, opting instead to simply commit changes to our docker-compose file. This is fine until we need to debug something, and then it becomes painful to manually map the environment variables from the docker-compose file over to appsettings.development.json. I created this to make my life a little bit easier, and hopefully it helps some other folks too!<p>It&#x27;s not perfect, and won&#x27;t support every possible format for docker-compose environment variables (block scalars, for example), which seemed a little overkill for a weekend project.<p>I&#x27;m definitely open to feedback and suggestions! Thanks!