diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2024-04-22 18:48:16 +0200 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2024-04-22 18:48:16 +0200 |
commit | 9c45e4fd70ed83bd2c203da225777ad670c2c15c (patch) | |
tree | 7f1be79d99b3e806094fc89622802063b98d7f8e /.ddev/docker-compose.postgrest.yaml | |
download | faktura-9c45e4fd70ed83bd2c203da225777ad670c2c15c.tar.gz faktura-9c45e4fd70ed83bd2c203da225777ad670c2c15c.tar.bz2 faktura-9c45e4fd70ed83bd2c203da225777ad670c2c15c.zip |
Initial commit
Diffstat (limited to '.ddev/docker-compose.postgrest.yaml')
-rw-r--r-- | .ddev/docker-compose.postgrest.yaml | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/.ddev/docker-compose.postgrest.yaml b/.ddev/docker-compose.postgrest.yaml new file mode 100644 index 0000000..952bcd4 --- /dev/null +++ b/.ddev/docker-compose.postgrest.yaml @@ -0,0 +1,29 @@ +version: '3.6' + +services: + web: + # Make the web container wait for the postgrest container + # to start + depends_on: + - db + - postgrest + + postgrest: + container_name: ddev-${DDEV_SITENAME}-postgrest + image: postgrest/postgrest + labels: + com.ddev.site-name: ${DDEV_SITENAME} + com.ddev.approot: ${DDEV_APPROOT} + environment: + PGRST_DB_URI: postgres://authenticator:password@db:5432/db + PGRST_DB_ANON_ROLE: web_anon + PGRST_DB_SCHEMAS: api + PGRST_JWT_SECRET: ${PGRST_JWT_SECRET} + VIRTUAL_HOST: ${DDEV_HOSTNAME} + #HTTP_EXPOSE: 3000 + depends_on: + - db + networks: + default: + aliases: + - web |