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…
¿Tenemos instrucciones actualizadas aquí? Cuando lo intento ahora obtengo
root@endoffice-b:/var/discourse# su postgres -c "psql discourse"
No passwd entry for user 'postgres'
ah, espera, reiniciar ayudó y esto funcionó:
root@endoffice-b:/var/discourse# ./launcher enter app
Se detectó la arquitectura x86_64.
ADVERTENCIA: el archivo containers/app.yml es legible por todos. Puedes proteger este archivo ejecutando: 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))
Escribe "help" para obtener ayuda.
Básicamente, necesitaba iniciar el contenedor de Docker: