From d44d930724decdb1451b1183eb305f56a2f07bd5 Mon Sep 17 00:00:00 2001 From: kev Date: Wed, 1 May 2019 09:24:01 +0800 Subject: [PATCH] add postgrest --- README.md | 1 + postgrest/README.md | 8 ++++++++ postgrest/docker-compose.yml | 9 +++++++++ 3 files changed, 18 insertions(+) create mode 100644 postgrest/README.md create mode 100644 postgrest/docker-compose.yml diff --git a/README.md b/README.md index b32925d..3a2e115 100644 --- a/README.md +++ b/README.md @@ -293,6 +293,7 @@ A collection of delicious docker recipes. - [x] pihole/pihole - [x] portainer/portainer :+1: - [x] postgres +- [x] postgrest/postgrest - [x] registry - [x] rocket.chat - [x] scrapinghub/splash diff --git a/postgrest/README.md b/postgrest/README.md new file mode 100644 index 0000000..814f267 --- /dev/null +++ b/postgrest/README.md @@ -0,0 +1,8 @@ +postgrest +========= + +[PostgREST][1] is a standalone web server that turns your PostgreSQL database +directly into a RESTful API. The structural constraints and permissions in the +database determine the API endpoints and operations. + +[1]: http://postgrest.org/ diff --git a/postgrest/docker-compose.yml b/postgrest/docker-compose.yml new file mode 100644 index 0000000..8848ac1 --- /dev/null +++ b/postgrest/docker-compose.yml @@ -0,0 +1,9 @@ +postgrest: + image: postgrest/postgrest + ports: + - "3000:3000" + environment: + PGRST_DB_URI: postgres://username:password@postgres:5432/postgres + PGRST_DB_SCHEMA: public + PGRST_DB_ANON_ROLE: postgres + restart: unless-stopped