docker-ejabberd
docker-ejabberd copied to clipboard
How to configure contrib modules?
contrib modules can be installed during startup using EJABBERD_CONTRIB_MODULES
, but how can I configure them? Setting the necessary options in ejabberd.yml.tpl
doesn't work, because during first startup of ejabberd the module isn't installed yet, therefore ejabberd fails to start. I couldn't find an option to configure it afterwards, maybe except for EJABBERD_CUSTOM_AUTH_MODULE_OVERRIDE
, but of course that's only for the auth module.
Is there a generic way to configure contrib modules?
I am having the same issue here. I'm trying to set a mod_offline_post to handle push notification, but I'm the container crashes every time cause the module has some attributes that need to be included in the ejabberd.yml.tpl. but that doesn't work.
Also, the EJABBERD_CUSTOM_AUTH_MODULE_OVERRIDE
doesn't seem to work. I set the env variable
EJABBERD_CONTRIB_MODULES=ejabberd_auth_http
but yet the http authentication doesn't seem to work. It still uses the default authentication method.
I know this because when trying to authenticate...it doesn't send a request to my backend url which I set