You should only have to backup the Postgres database. But it won’t hurt to have a copy of your compose file as well.
This GitHub issue has the steps you should use. And answers all your other questions too.
You should only have to backup the Postgres database. But it won’t hurt to have a copy of your compose file as well.
This GitHub issue has the steps you should use. And answers all your other questions too.
Chezmoi has an amazing templating feature to address different files on different machines. It’s worth the time to set up.