Informações de soquete do banco de dados Discourse

Enquanto tento configurar o Discourse na AWS EC2, encontrei um problema ao procurar as informações de DISCOURSE_DB_SOCKET que devem estar no app.yml. Alguém pode me dizer onde posso obter essas informações sobre o 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 curtida

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.