dify icon indicating copy to clipboard operation
dify copied to clipboard

EXPOSE_DB_PORT is not configured in the env file.

Open AAEE86 opened this issue 10 months ago • 1 comments

Self Checks

  • [x] This is only for bug report, if you would like to ask a question, please head to Discussions.
  • [x] I have searched for existing issues search for existing issues, including closed ones.
  • [x] I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [x] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • [x] Please do not modify this template :) and fill in all the required fields.

Dify version

1.0.0-beta.1

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

Port 5432 is reused, and the parameter EXPOSE_DB_PORT is not configured in the env file.

✔️ Expected Behavior

No response

❌ Actual Behavior

No response

AAEE86 avatar Feb 08 '25 09:02 AAEE86

To configure the database port for a self-hosted Dify version 1.0.0-beta.1 using Docker, you should use the EXPOSE_POSTGRES_PORT parameter in the environment file. You can set it like this:

EXPOSE_POSTGRES_PORT=5432

This will specify the host port that will be exposed for the PostgreSQL database service. You can change 5432 to any other port number you wish to use [1].

To continue talking to Dosu, mention @dosu.


Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other

dosubot[bot] avatar Feb 08 '25 09:02 dosubot[bot]