add postgrest

This commit is contained in:
kev 2019-05-01 09:24:01 +08:00
parent 660fb9e1bb
commit d44d930724
3 changed files with 18 additions and 0 deletions

View File

@ -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

8
postgrest/README.md Normal file
View File

@ -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/

View File

@ -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