My app runs on Supabase. The Suapbase local development environment is based on docker-compose. It runs ~6-7 containers for various services. I don't want to replicate the whole supabase dev stack, so I'm wondering what the best pattern for this sort of situation is with Dagger?
So far I've got a kinda custom script that starts docker inside the dagger container, mounts a cached volume with postgres data, then starts supabase "normally" using the supabase cli as docker-in-docker. Then I expose the supabase ports from the dagger container as a dagger service.
Is this a good pattern? Is there a better way? How in general is it best to deal with docker-composed based tooling inside of dagger?