Informations sur le socket de base de données Discourse

Lorsque j’essaie d’installer Discourse sur AWS EC2, je rencontre un problème pour trouver les informations concernant DISCOURSE_DB_SOCKET qui doivent être présentes dans app.yml. Pourriez-vous m’indiquer où je peux obtenir ces informations sur 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 « J'aime »

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.