docker-ejabberd icon indicating copy to clipboard operation
docker-ejabberd copied to clipboard

How to configure contrib modules?

Open Dunedan opened this issue 6 years ago • 3 comments

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?

Dunedan avatar Sep 11 '17 06:09 Dunedan

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.

claudiocleberson avatar Feb 03 '18 18:02 claudiocleberson

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.

Goutam192002 avatar Feb 05 '21 13:02 Goutam192002

I know this because when trying to authenticate...it doesn't send a request to my backend url which I set

Goutam192002 avatar Feb 05 '21 13:02 Goutam192002