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