Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Postgresql socket configuration is undocumented, confusing #73

Open
melissaboiko opened this issue Aug 25, 2021 · 0 comments
Open

Postgresql socket configuration is undocumented, confusing #73

melissaboiko opened this issue Aug 25, 2021 · 0 comments

Comments

@melissaboiko
Copy link

Current install docs say:

  • Set DB_HOST to the IP of the machine
  • Set DB_PORT to the port on which your database server is exposed

Alternatively, if you are using a Unix socket:

  • Set DB_SOCKET to the path of the socket, e.g. /run/mysqld/mysqld.sock

But this doesn't work for Postgresql. The only way I could make it work was:

DB_CONNECTION=pgsql
# DB_SOCKET=/run/postgresql/
DB_HOST=/run/postgresql/
DB_PASSWORD=null
DB_PORT=5432 # ?

DB_DATABASE=pixelfed
DB_USERNAME=pixelfed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant