# Support database password files in temporal-server docker image

**URL:** <https://community.temporal.io/t/support-database-password-files-in-temporal-server-docker-image/231>\
**Category:** Community Support\
**Created:** [July 20, 2020, 2:33pm UTC](https://community.temporal.io/t/support-database-password-files-in-temporal-server-docker-image/231 "2020-07-20T14:33:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jocelyn](https://avatars.discourse-cdn.com/v4/letter/j/90db22/32.png) [@Jocelyn](https://community.temporal.io/u/Jocelyn)\
**Post date:** [July 20, 2020, 2:33pm UTC](https://community.temporal.io/t/support-database-password-files-in-temporal-server-docker-image/231/1 "2020-07-20T14:33:41Z")

</div>

It would be nice to support database password files instead of plaintext database passwords in docker-compose config of the temporal-server image, allowing easy use of docker-compose secrets. Something similar to keycloak: [https://github.com/keycloak/keycloak-containers/commit/d433814c1969682a6bd032604bf821c23b380200](https://github.com/keycloak/keycloak-containers/commit/d433814c1969682a6bd032604bf821c23b380200)

---

<div class="post-metadata">

**Author:** ![ryland](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/ryland/32/11_2.png) [@ryland](https://community.temporal.io/u/ryland)\
**Post date:** [July 20, 2020, 4:56pm UTC](https://community.temporal.io/t/support-database-password-files-in-temporal-server-docker-image/231/2 "2020-07-20T16:56:14Z")

</div>

This is a great idea.

---

<div class="post-metadata">

**Author:** ![sagikazarmark](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/sagikazarmark/32/32_2.png) [@sagikazarmark](https://community.temporal.io/u/sagikazarmark)\
**Post date:** [July 28, 2020, 10:06pm UTC](https://community.temporal.io/t/support-database-password-files-in-temporal-server-docker-image/231/3 "2020-07-28T22:06:55Z")

</div>

Personally, I’d much rather see env var support first, it’s much more common.
