Discourse Database Socket information

While i am trying to establish Discourse on AWS EC2, i faced a problem to find the information of DISCOURSE_DB_SOCKET that should be found in app.yml. Can anyone tell me from where could i get this information of DISCOURSE_DB_SOCKET.

DISCOURSE_DB_SOCKET: ''
DISCOURSE_DB_NAME:  **[AWS_POSTGRES_DB_NAME]**
DISCOURSE_DB_POOL:  15
DISCOURSE_DB_USERNAME: [AWS_POSTGRES_DB_USERNAME]
DISCOURSE_DB_PASSWORD:  [AWS_POSTGRES_DB_PASSWORD]
DISCOURSE_DB_HOST:  [AWS_POSTGRES_ENDPOINT]
DISCOURSE_REDIS_HOST:  [AWS_REDIS_ENDPOINT]

That would be the path to the unix socket of the PostgreSQL you want to connect to. You should omit it on most cases.

1 Like

But i still can not find it. Is it the PostgreSQL that i have created on my AWS account. if so, which one is its path

If you don’t know then you can just access it via the port.