Skip to content
A quick workflow to experiment with PostgREST
Shell Python
Branch: master
Clone or download
Latest commit 285d0cc Jul 8, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
base Org1 Jul 8, 2019
.tmuxp_session.yaml Mostly noop changes to sh script Jun 21, 2019 Initial commit Jun 20, 2019 Update readme Jun 21, 2019
start Org2 Jul 8, 2019


pgrst-dev-setup is a collection of docker-compose ymls, shell scripts and some config files for a quick workflow to experiment with PostgREST.
It provides the database, the application and some tooling to help interact with the system. After a session it also saves the docker logs for i.e. debugging purposes.


You need to have docker and docker-compose installed. If you have tmuxp installed, you can also use the session file to a even quicker start.


Underlying software installation happens when docker starts the necessary containers. That means you only need to clone this repository to get started.

git clone
cd pgrst-dev-setup

You can change the files inside data to change the loaded configurations and the database startup script.

Note: All commands attach to the terminal. If you want to avoid using multiple terminal windows you can use the included tmuxp script.



Starts postgres, postgrest and mitmdump (for comprehensive logging). The database is served on the port 5000 and the server on 5001. Dumps a logs.txt with logs from all these three containers after exiting.

./start <tool>

Start one of the available tools. Listing is below.

./start with-nothing

Clean traces of docker-compose

./start tmux

Run tmuxp session

Available Tools

  • pgadmin4

    Starts a server on port 5003
    Points by default to postgres database

  • psql

    Points by default to postgres database

  • pgcli

    Points by default to postgres database

  • http-prompt

    Points by default to postgrest server

  • swagger

    Starts a server on port 5003
    Points by default to postgrest proxy server

  • mitmproxy

    Starts a reverse proxy on port 5002
    Starts a mitmweb instance on port 5005


Pull requests are welcome.



You can’t perform that action at this time.