# データベースパスワードを埋め込まずに Discourse イメージを構築する方法は？

**URL:** <https://meta.discourse.org/t/building-a-discourse-image-without-baking-in-the-database-password/106538>\
**Category:** Self-hosting\
**Created:** [2019 年 1 月 14 日午後 11:28 UTC](https://meta.discourse.org/t/building-a-discourse-image-without-baking-in-the-database-password/106538 "2019-01-14T23:28:52Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![brahn](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/brahn/32/109267_2.png) [@brahn](https://meta.discourse.org/u/brahn)\
**Post date:** [2019 年 1 月 15 日午前 9:37 UTC](https://meta.discourse.org/t/building-a-discourse-image-without-baking-in-the-database-password/106538/4 "2019-01-15T09:37:21Z")

</div>

Would it be enough to push a dummy value to that environment var after the db migration completes? There are hooks for that, post migration, I’m sure.

---

_[View the full topic](https://meta.discourse.org/t/building-a-discourse-image-without-baking-in-the-database-password/106538)._
