yousefa
(Yousef )
1
当我尝试在 AWS EC2 上部署 Discourse 时,我遇到了一个问题,无法找到应位于 app.yml 中的 DISCOURSE_DB_SOCKET 信息。有人能告诉我从哪里可以获取 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]
Falco
(Falco)
2
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 个赞
yousefa
(Yousef )
3
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
pfaffman
(Jay Pfaffman)
4
If you don’t know then you can just access it via the port.