Postgres - afalarcon/n8n GitHub Wiki
bd Postgres
There implementation the postgres on container docker, does the create in user and password, and include command necesary for the funtionality sucess.
command's
command to get into the bd
- docker exec -it <'name image docker'> psql -U <'user bd> -d <name bd'>
Command to create user in bd - CREATE USER WITH PASSWORD <'DESCRIPT PASSWORD'> Command to create a database and user who was created
- CREATE DATABASE <'NAME NEW BD'> OWNER <'USER BD'> Command to privilege the user in the database
- GRANT ALL PRIVILEGES ON DATABASE <'name bd'> TO <'user privilege'>
${CONFIG_SESSION_PHONE_VERSION}
Create Data 5-06-2025 to postgres access
- CREATE USER n8nuser WITH PASSWORD 'n8npass';
- CREATE DATABASE n8ndb_ OWNER n8nuser;
- GRANT ALL PRIVILEGE ON DATABASE n8ndb_ TO n8nuser