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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Ask HN: How do you manage 12 Factor Environment Variables?

2 点作者 axismundi超过 4 年前
As the last paragraph of https:&#x2F;&#x2F;12factor.net&#x2F;config states:<p>&quot;In a twelve-factor app, env vars are granular controls, each fully orthogonal to other env vars. They are never grouped together as “environments”, but instead are independently managed for each deploy. This is a model that scales up smoothly as the app naturally expands into more deploys over its lifetime.&quot;<p>How do you do that practically while avoiding bundling vars in files? I know you can use e.g. docker secrets for credentials, but what about bare metal? For example, how would you manage deployments of a NodeJS service? Or a create-react-app project?

暂无评论

暂无评论