# YML 환경 변수 - OS 환경 변수로만 치환됨

**URL:** https://meta.discourse.org/t/env-vars-in-yml-only-substituded-with-os-ones/280032
**Category:** Self-hosting
**Created:** [9월 25, 2023, 3:53오후 UTC](https://meta.discourse.org/t/env-vars-in-yml-only-substituded-with-os-ones/280032 "2023-09-25T15:53:26Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![Lilly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lilly/32/575047_2.png) [@Lilly](https://meta.discourse.org/u/Lilly)
#### Post date: [9월 25, 2023, 4:06오후 UTC](https://meta.discourse.org/t/env-vars-in-yml-only-substituded-with-os-ones/280032/2 "2023-09-25T16:06:30Z")

</div>

> [@환경 변수 설정](https://meta.discourse.org/t/set-environmental-variables/270832):
>
> notebook_with_decorative_cover 이는 자체 호스팅 Discourse 설치에서 환경 변수를 설정하는 방법(#how-to)에 대한 가이드입니다. person_raising_hand 필요한 사용자 권한: 관리자 환경 변수는 Discourse 인스턴스를 구성하는 데 중요한 역할을 합니다. API 키와 데이터베이스 비밀번호와 같은 민감한 데이터를 저장할 수 있어 설치를 더 안전하고 유연하게 만들어 줍니다. Discourse에서 환경 변수는 Docker 컨테이너 설정 내의 app.yml 파일에 설정됩니다. .yml(YAML) 파일에 환경 변수를 추가하는 것은 간단합니다. 다음은 기본적인 예시입니다: # This is a YAML file with environmental variables env: VARIABLE\_NAME: "Variable Value" ANOTHER\_VARIABLE: "Another Value" Discourse Docker 컨…

---

_[View the full topic](https://meta.discourse.org/t/env-vars-in-yml-only-substituded-with-os-ones/280032)._
