You’re, right, that’s a mistake and seems like a likely culprit. I changed it to templates/postgres.template.yml, and rebuilt twice, but I’m still stuck in the loop.
I followed this guide (back when it was available) to use DigitalOcean Spaces for backup and image uploads.