Docker无法使用postgresql安装rails
我是docker工人。 我尝试用docker安装我的rails应用程序。 我使用postgresql的数据库。 我用这个无花果。 当我跑步
fig run web rake db:create
我得到错误"could not connect to server: Connection refused Is the server running on host "localhost" (::1) and accepting TCP/IP connections on port 5432?"."
任何帮助将不胜感激。 提前致谢