Have a look at
It’s out of date (the referenced PR was merged and released so the configuration is now a lot simpler) but the general principles should help you.
Have a look at
It’s out of date (the referenced PR was merged and released so the configuration is now a lot simpler) but the general principles should help you.