# Criando uma imagem do Discourse sem incluir a senha do banco de dados?

**URL:** <https://meta.discourse.org/t/building-a-discourse-image-without-baking-in-the-database-password/106538>\
**Category:** Self-hosting\
**Created:** [Janeiro 14, 2019, 11:28pm 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:** 6

<div class="post-metadata">

**Author:** ![dkess](https://avatars.discourse-cdn.com/v4/letter/d/b19c9b/32.png) [@dkess](https://meta.discourse.org/u/dkess)\
**Post date:** [Janeiro 16, 2019, 12:27am UTC](https://meta.discourse.org/t/building-a-discourse-image-without-baking-in-the-database-password/106538/6 "2019-01-16T00:27:40Z")

</div>

Thanks for the response! I didn’t know Pups had the ability to modify environment variables.

What is the exact syntax for changing the environment from inside a hook? It doesn’t seem to be documented, and the few attempts I had at this had no effect on the build process.

---

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