# Setting up Elixir with Dockerized PostgreSQL

**URL:** <https://forum.elixirforum.com/t/setting-up-elixir-with-dockerized-postgresql/60854>\
**Category:** Questions\
**Tags:** docker, phoenix, postgres\
**Created:** [January 9, 2024, 7:17am UTC](https://forum.elixirforum.com/t/setting-up-elixir-with-dockerized-postgresql/60854 "2024-01-09T07:17:48Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![D4no0](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/d4no0/32/33624_2.png) [@D4no0](https://forum.elixirforum.com/u/D4no0)\
**Post date:** [January 9, 2024, 9:36am UTC](https://forum.elixirforum.com/t/setting-up-elixir-with-dockerized-postgresql/60854/6 "2024-01-09T09:36:19Z")

</div>

If your elixir application is not in container, then the only way is to expose the port and connect on localhost, just as it was mentioned previously by others.

---

_[View the full topic](https://forum.elixirforum.com/t/setting-up-elixir-with-dockerized-postgresql/60854)._
