add server proxy uri env var for smoother swagger-ui use with docker-compose

This commit is contained in:
Reuben Thomas-Davis
2019-09-16 09:52:51 -05:00
committed by Steve Chávez
parent bc6e181d03
commit 1a18ef5a20
+1
View File
@@ -134,6 +134,7 @@ To avoid having to install the database at all, you can run both it and the serv
PGRST_DB_URI: postgres://app_user:password@db:5432/app_db
PGRST_DB_SCHEMA: public
PGRST_DB_ANON_ROLE: app_user #In production this role should not be the same as the one used for the connection
PGRST_SERVER_PROXY_URI: "http://127.0.0.1:3000"
depends_on:
- db
db: