# Можно ли подключаться к базе данных напрямую из отдельного приложения?

**URL:** <https://meta.discourse.org/t/is-it-possible-to-connect-to-the-database-directly-from-a-separate-app/152695>\
**Category:** Self-hosting\
**Created:** [25.Май.2020 21:52:58 UTC](https://meta.discourse.org/t/is-it-possible-to-connect-to-the-database-directly-from-a-separate-app/152695 "2020-05-25T21:52:58Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![AstonJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/astonj/32/215041_2.png) [@AstonJ](https://meta.discourse.org/u/AstonJ)\
**Post date:** [25.Май.2020 21:52:58 UTC](https://meta.discourse.org/t/is-it-possible-to-connect-to-the-database-directly-from-a-separate-app/152695/1 "2020-05-25T21:52:58Z")

</div>

Приложение будет находиться вне контейнера Docker Discourse, но на том же сервере. Если это так, не могли бы кто-нибудь поделиться деталями о том, как это сделать, или направить к руководству или инструкции?

Есть ли также какие-либо недостатки в таком подходе по сравнению с использованием плагина/API DE?

---

_[View the full topic](https://meta.discourse.org/t/is-it-possible-to-connect-to-the-database-directly-from-a-separate-app/152695)._
