# Postgres already running

**URL:** <https://meta.discourse.org/t/postgres-already-running/131128>\
**Category:** Self-hosting\
**Created:** [October 16, 2019, 2:46am UTC](https://meta.discourse.org/t/postgres-already-running/131128 "2019-10-16T02:46:56Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [October 16, 2019, 12:35pm UTC](https://meta.discourse.org/t/postgres-already-running/131128/4 "2019-10-16T12:35:28Z")

</div>

You can’t run two postgres servers,so you’ll need to get both applications to use the same one. Mostly, you add the discourse database to the existing server and put the user, password, and host values in environment variables in your yml file.

---

_[View the full topic](https://meta.discourse.org/t/postgres-already-running/131128)._
