supabase/supabase-dev

By supabase

Updated almost 5 years ago

an all-in-one supabase image to get you started with Realtime Postgres

Image
11

10K+

To get started create a docker-compose.yml with the following:

version: '3'

services:
  supabase:
    image: supabase/supabase-dev:latest
    ports:
      - "8000:8000"
    environment:
      DB_HOST: db
      DB_NAME: postgres
      DB_USER: postgres
      DB_PASSWORD: postgres
      DB_PORT: 5432
      DB_SCHEMA: public
    depends_on:
      - db
  db:
    image: postgres:12
    ports:
      - "5432:5432"
    command:
      - "postgres"
      - "-c"
      - "wal_level=logical"

and then run: docker-compose up (add -d to run in detached mode)

browse to http://localhost:8000/rest/v1/?apikey=examplekey to confirm that everything is running

Docker Pull Command

docker pull supabase/supabase-dev