aboutsummaryrefslogtreecommitdiffstats
path: root/postgrest/start-postgrest.sh
diff options
context:
space:
mode:
Diffstat (limited to 'postgrest/start-postgrest.sh')
-rwxr-xr-xpostgrest/start-postgrest.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/postgrest/start-postgrest.sh b/postgrest/start-postgrest.sh
index 5995898..f74e180 100755
--- a/postgrest/start-postgrest.sh
+++ b/postgrest/start-postgrest.sh
@@ -1,5 +1,7 @@
#!/bin/bash
+# Insert env vars into postgrest.conf
envsubst < postgrest.conf > postgrest.conf.tmp
mv postgrest.conf.tmp postgrest.conf
+
./postgrest postgrest.conf