update PGRST_DB_ANON_ROLE in docker-compose

anon should not be the default db user
This commit is contained in:
agent3bood
2018-05-23 09:16:47 -05:00
committed by steve-chavez
parent 28c39e976c
commit e0e4d68185
+1 -1
View File
@@ -214,7 +214,7 @@ To avoid having to install the database at all, you can run both it and the serv
environment:
PGRST_DB_URI: postgres://app_user:password@db:5432/app_db
PGRST_DB_SCHEMA: public
PGRST_DB_ANON_ROLE: app_user
PGRST_DB_ANON_ROLE: app_user #In production this role should not be the same as the one used for the connection
depends_on:
- db
db: