Indeed, using DATABASE_URL
as described in that post will no longer work if your database is only accessible on your Fly private network. Using fly deploy --depot=false
will work for now, but it’s also worth understanding why your app needs database access at build time. There’s also the option to defer builds if your build doesn’t take very long.
In the future we might restore Flycast access for Depot builders, but only after managed Postgres is released.