<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>config on LaMelD</title><link>https://lameld.github.io/tags/config/</link><description>Recent content in config on LaMelD</description><generator>Hugo</generator><language>ko-KR</language><lastBuildDate>Thu, 17 Sep 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://lameld.github.io/tags/config/index.xml" rel="self" type="application/rss+xml"/><item><title>5. 환경 변수 구성</title><link>https://lameld.github.io/nestjs/ch-05/</link><pubDate>Thu, 17 Sep 2026 00:00:00 +0000</pubDate><guid>https://lameld.github.io/nestjs/ch-05/</guid><description>&lt;blockquote&gt;&#10;&lt;p&gt;설정값(DB 접속, 시크릿 등)은 코드에 하드코딩하지 않고 &lt;strong&gt;환경 변수&lt;/strong&gt;로 분리한다. NestJS는 &lt;code&gt;@nestjs/config&lt;/code&gt; 로 &lt;code&gt;.env&lt;/code&gt; 를 읽어 &lt;code&gt;ConfigService&lt;/code&gt; 로 제공한다.&lt;/p&gt;</description></item><item><title>부록</title><link>https://lameld.github.io/nestjs/appendix/</link><pubDate>Thu, 17 Sep 2026 00:00:00 +0000</pubDate><guid>https://lameld.github.io/nestjs/appendix/</guid><description>&lt;blockquote&gt;&#10;&lt;p&gt;부록 — 실무에서 자주 쓰는 설정 팁 모음.&lt;/p&gt;&#10;&lt;/blockquote&gt;&#10;&lt;h2 id="1-ormconfigjson-동적-생성"&gt;1. ormconfig.json 동적 생성&lt;/h2&gt;&#10;&lt;p&gt;과거 TypeORM은 &lt;code&gt;ormconfig.json&lt;/code&gt; 정적 파일로 DB 설정을 읽었지만, 환경 변수 기반으로 동적 구성하는 것이 안전하다. NestJS 에서는 &lt;code&gt;TypeOrmModule.forRootAsync&lt;/code&gt; + &lt;code&gt;ConfigService&lt;/code&gt; 조합을 쓴다.&lt;/p&gt;</description></item></channel></rss>