# Is it possible to login into the postgres database inside the docker image?

**URL:** <https://meta.discourse.org/t/is-it-possible-to-login-into-the-postgres-database-inside-the-docker-image/35167>\
**Category:** Self-hosting\
**Created:** [2015 年 11 月 2 日午前 12:48 UTC](https://meta.discourse.org/t/is-it-possible-to-login-into-the-postgres-database-inside-the-docker-image/35167 "2015-11-02T00:48:52Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![badr](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/badr/32/105209_2.png) [@badr](https://meta.discourse.org/u/badr)\
**Post date:** [2015 年 11 月 2 日午前 12:48 UTC](https://meta.discourse.org/t/is-it-possible-to-login-into-the-postgres-database-inside-the-docker-image/35167/1 "2015-11-02T00:48:52Z")

</div>

Hello,

I need to integrate a product on my discourse by adding some tables to the discourse db in postgres. Where can I find the username and password for the PostGres DB Discourse is using.

I also wanted to ask if I change the postgres password like its suggested here:

```
 ./launcher enter app
su - postgres
psql
ALTER ROLE postgres WITH PASSWORD 'your-new-password';

```

will that break discourse or will discourse work with that new password…

---

_[View the full topic](https://meta.discourse.org/t/is-it-possible-to-login-into-the-postgres-database-inside-the-docker-image/35167)._
