Public Repository

Last pushed: 6 months ago
Short Description
PostgREST docker image enhanced with wait-for-it script.
Full Description

Docker image from https://github.com/begriffs/postgrest enchanced with wait-for-it.

Docker-compose example:

version: '2'
services:

  stgrest:
    image: alexnu/postgrest:latest
    ports:
      - "3000:3000"
    volumes:
      - ./config.conf:/etc/postgrest.conf
    command: ["./wait-for-it.sh", "postgres:5432", "--", "postgrest /etc/postgrest.conf" ]

  postgres:
    image: postgres
    ports:
      - "5432:5432"
    environment:
      POSTGRES_DB: app_db
      POSTGRES_USER: app_user
      POSTGRES_PASSWORD: password
Docker Pull Command
Owner
alexnu

Comments (0)