summaryrefslogtreecommitdiffstats
path: root/.ddev
diff options
context:
space:
mode:
Diffstat (limited to '.ddev')
-rw-r--r--.ddev/docker-compose.postgrest.yaml4
1 files changed, 1 insertions, 3 deletions
diff --git a/.ddev/docker-compose.postgrest.yaml b/.ddev/docker-compose.postgrest.yaml
index d0b914b..af8e192 100644
--- a/.ddev/docker-compose.postgrest.yaml
+++ b/.ddev/docker-compose.postgrest.yaml
@@ -3,8 +3,6 @@
#
# SPDX-License-Identifier: CC0-1.0
-version: '3.6'
-
services:
web:
# Make the web container wait for the postgrest container
@@ -20,7 +18,7 @@ services:
com.ddev.site-name: ${DDEV_SITENAME}
com.ddev.approot: ${DDEV_APPROOT}
environment:
- PGRST_DB_URI: postgres://authenticator:password@db:5432/db
+ PGRST_DB_URI: postgres://${PGRST_DB_USER}:${PGRST_DB_PASS}@db:5432/db
PGRST_DB_ANON_ROLE: web_anon
PGRST_DB_SCHEMAS: api
PGRST_JWT_SECRET: ${PGRST_JWT_SECRET}