I need to integrate a product on my discourse by adding some tables to the discourse db in postgres. Where can I find the username and password for the PostGres DB Discourse is using.
I also wanted to ask if I change the postgres password like its suggested here:
./launcher enter app
su - postgres
psql
ALTER ROLE postgres WITH PASSWORD 'your-new-password';
will that break discourse or will discourse work with that new password…
Do we have updated instructions here? When I try that now I get
root@endoffice-b:/var/discourse# su postgres -c "psql discourse"
No passwd entry for user 'postgres'
ah wait, rebooting helped and this worked:
root@endoffice-b:/var/discourse# ./launcher enter app
x86_64 arch detected.
WARNING: containers/app.yml file is world-readable. You can secure this file by running: chmod o-rwx containers/app.yml
root@endoffice-b-app:/var/www/discourse# su postgres -c 'psql discourse'
psql (13.7 (Debian 13.7-1.pgdg110+1))
Type "help" for help.