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.