rroemhild / docker-ejabberd

Dockerfile for Ejabberd server
MIT License
268 stars 160 forks source link

How to configure contrib modules? #146

Open Dunedan opened 7 years ago

Dunedan commented 7 years ago

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?

claudiocleberson commented 6 years ago

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.

Goutam192002 commented 3 years ago

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 commented 3 years ago

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