# Get the code | |
git clone --depth 1 https://github.com/supabase/supabase | |
# Make your new supabase project directory | |
mkdir supabase-project | |
# Tree should look like this | |
# . | |
# βββ supabase | |
# βββ supabase-project | |
# Copy the compose files over to your project | |
cp -rf supabase/docker/* supabase-project | |
# Copy the fake env vars | |
cp supabase/docker/.env.example supabase-project/.env | |
# Switch to your project directory | |
cd supabase-project | |
# Pull the latest images | |
docker compose pull | |
# Start the services (in detached mode) | |
docker compose up -d |