Use env interpolation in config (#826)

This commit is contained in:
Joe Nelson
2017-05-24 22:50:09 -05:00
committed by GitHub
parent 3dbcf9cbc3
commit 74227d3c2b
7 changed files with 71 additions and 34 deletions
+5 -3
View File
@@ -1,11 +1,13 @@
stgrest:
image: begriffs/postgrest:latest
image: pg_local
ports:
- "3000:3000"
volumes:
- ./config.conf:/etc/postgrest.conf
links:
- postgres:postgres
environment:
PGRST_DB_URI: postgres://app_user:password@postgres:5432/app_db
PGRST_DB_SCHEMA: public
PGRST_DB_ANON_ROLE: app_user
postgres:
image: postgres