# Using a PGSQL database outside of Docker?

**URL:** <https://meta.discourse.org/t/using-a-pgsql-database-outside-of-docker/102679>\
**Category:** Self-hosting\
**Created:** [24 בנובמבר,‏ 2018,‏ 7:33pm UTC](https://meta.discourse.org/t/using-a-pgsql-database-outside-of-docker/102679 "2018-11-24T19:33:24Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![ylluminate](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ylluminate/32/115440_2.png) [@ylluminate](https://meta.discourse.org/u/ylluminate)\
**Post date:** [24 בנובמבר,‏ 2018,‏ 7:33pm UTC](https://meta.discourse.org/t/using-a-pgsql-database-outside-of-docker/102679/1 "2018-11-24T19:33:24Z")

</div>

I’m doing the standard Docker installation of Discourse, however it appears that there are some quirks regarding the database. First, I don’t see any listing for a `production` database within the `config/database.yml` (only `development`, `test` and `profile`), but it appears that the Dockerized system is using PostgreSQL.

What is the proper method for directing the standard Dockerized installation to use a PostgreSQL database on another server?

---

_[View the full topic](https://meta.discourse.org/t/using-a-pgsql-database-outside-of-docker/102679)._
