Files
altstack-data/docker-deploy/supabase/docker-compose.yml
2026-04-19 08:36:29 +00:00

32 lines
1.1 KiB
YAML

# ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
# 🚀 BUILT & MAINTAINED BY THE ALTSTACK
# 🌍 https://thealtstack.com
# 💡 Open-source deployment templates for modern self-hosting.
# ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
version: '3.8'
services:
db:
image: supabase/postgres:15.1.0.117
container_name: supabase-db
restart: unless-stopped
environment:
- POSTGRES_PASSWORD=postgres
- POSTGRES_DB=postgres
- POSTGRES_USER=postgres
volumes:
- supabase_db_data:/var/lib/postgresql/data
auth:
image: supabase/gotrue:v2.132.3
container_name: supabase-auth
restart: unless-stopped
environment:
- GOTRUE_DB_DATABASE_URL=postgres://postgres:postgres@db:5432/postgres
- GOTRUE_SITE_URL=http://localhost:3000
volumes:
supabase_db_data: