These files can be placed underneath the Prowlarr appdata directory Prowlarr->System->Status->AppData directory inside the Definitions/Custom folder in order to add onion websites for indexers that provide a service over tor.
For example, in order to add the The Pirate Bay onion address as an indexer:
System->Status and check the location of the appdata directory (ie: /var/lib/prowlarr),Definitions/Custom under the appdata directory (ie: /var/lib/prowlarr/Definitions/Custom).thepiratebayonion.yml file) inside the created directory and name it tpbonion.yml (ie: /var/lib/prowlarr/Definitions/Custom/tpbonion.yml):systemctl restart prowlarr) and then go to the Indexers menu item once it has started,Add Indexer and then look for the indexer The Pirate Bay (Onion) and add it to the list,Tags field on the indexer configuration screen,Test and then Save.In order for the indexer to be synchronized to all configured apps, a forced re(synchronization) can be triggered from the Prowlarr task schedule page.