Local Development w/ Redis and PG

New to Fly.io, so far really liking it. One of the aspects I am interested is that Fly.io is a great dev experience without lock-in. Conceptual, since this is all docker, I can deploy on my local machine.

However, poking around Docker and Tomel files, and I don’t see how the Redis and Postgres is built or setup. Is there a way to deploy locally such that you have prod-like setup?