Load Prosody module in Docker?

Hi.
This feel like something that should be easy, but I can’t seem to find the answer so I’ll ask here. I’ve made (or rather stole most of it actually) a Prosody module which I’m trying to get running in my Docker Jitsi. Since the default docker-compose sets up a volume /prosody-plugins-custom pointing to the existing folder ${CONFIG}/prosody/prosody-plugins-custom, I thought it would just be to put the lua file in there and put it in XMPP_MUC_MODULES, but I seem to be confused about the paths.

Now when starting my containers I get the following in the log:

Unable to load module ‘mod_email_affiliation’: /usr/lib/prosody/modules/share/lua/5.4/mod_mod_email_affiliation/mod_mod_email_affiliation.lua: No such file or directory

Also tried inclusing the path (/prosody-plugins-custom) in the XMPP_MUC_MODULES but that got even weirder. So how do I tell it to look in the correct directory for my module?

edit: Ha! Found it! It should be the module name without mod_ in XMPP_MUC_MODULES, so just “email_affiliation” there. Loads now!