数据库只能从容器内部访问。您需要打开 postgres 端口并设置密码。关于如何设置 postgres 密码,从独立容器迁移到独立的 Web 和数据容器 主题可能包含一些线索。
pfaffman
(Jay Pfaffman)
2
相关话题
| 话题 | 回复 | 浏览量 | 活动 | |
|---|---|---|---|---|
| discourse容器部署方式下,如何在外部连接到数据库,例如使用DBeaver连接 | 2 | 156 | 2025 年5 月 28 日 | |
| How do I get database connection info? | 5 | 223 | 2024 年12 月 1 日 | |
| How to import xenForo database to Discourse | 1 | 193 | 2025 年1 月 26 日 | |
| Where is the user content stored in the database? | 9 | 2542 | 2017 年5 月 17 日 | |
| Accessing Database while discourse not running | 0 | 105 | 2025 年4 月 19 日 |