Skip to content

Commit c0ec4c5

Browse files
committed
DOCS: update README with PostgresSQL admin and tenant user setup
1 parent f0c0d75 commit c0ec4c5

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,14 +55,17 @@ Developers can customise this as per their requirement.
5555
- Clone the repo and execute command `npm install`
5656
- Create a copy of the env.sample file and rename it as .env
5757
- Install postgres and redis
58+
- Create a restricted tenant user that cannot bypass RLS policies
5859
- Provide postgres, redis secrets and default user details in .env file as mentioned below
5960

6061
| Database configuration(Required) | |
6162
|--|--|
6263
|POSTGRES_HOST | localhost |
6364
|POSTGRES_PORT | 5432|
64-
|POSTGRES_USER | postgres |
65-
|POSTGRES_PASSWORD | postgres |
65+
|POSTGRES_ADMIN_USER | postgres |
66+
|POSTGRES_ADMIN_PASSWORD | postgres |
67+
|POSTGRES_TENANT_USER | tenant |
68+
|POSTGRES_TENANT_PASSWORD | tenant |
6669
|POSTGRES_DB | auth_service |
6770

6871
 

0 commit comments

Comments
 (0)