discourse容器部署方式下,如何在外部连接到数据库,例如使用DBeaver连接
You’d need to look at the two-container setup, or find some other way to assign a password to the Discourse user and expose the postgres port, something like
expose:
- "80:80" # http
- "443:443" # https
- "127.0.0.1:5432:5432"
But what problem are you solving? Maybe just use Discourse Data Explorer.
2 Likes
非常感谢,我会试试这个插件。