"Overrides" Folder Options

Hi, can someone elaborate on how the “overrides” are used in deployment?

I understand that they are optional, but for example, if I wanted to use NGINX & Postgres instead of Traefik & MariaDB, then how would I go about that?