mirror of
https://github.com/supabase/supabase.git
synced 2026-06-21 04:46:08 +08:00
32 lines
629 B
YAML
32 lines
629 B
YAML
version: '3'
|
|
|
|
services:
|
|
supabase:
|
|
image: supabase/supabase-dev:0.1.8
|
|
ports:
|
|
- "8000:8000"
|
|
environment:
|
|
DB_HOST: postgres
|
|
DB_NAME: postgres
|
|
DB_USER: postgres
|
|
DB_PASSWORD: postgres
|
|
DB_PORT: 5432
|
|
DB_SCHEMA: public
|
|
depends_on:
|
|
- postgres
|
|
postgres:
|
|
image: postgres:12
|
|
ports:
|
|
- "5432:5432"
|
|
volumes:
|
|
- ./db:/docker-entrypoint-initdb.d/
|
|
command:
|
|
- "postgres"
|
|
- "-c"
|
|
- "wal_level=logical"
|
|
environment:
|
|
POSTGRES_DB: postgres
|
|
POSTGRES_USER: postgres
|
|
POSTGRES_PASSWORD: postgres
|
|
POSTGRES_PORT: 5432
|