rroemhild / docker-ejabberd

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

Replace ghostscript with gsfonts. Add `captcha_cmd` parameter. #180

Closed youmad closed 5 years ago

youmad commented 5 years ago

In fact we need the gsfonts package to draw CAPTCHA instead of ghostscript (it was my mistake). Also I added captcha_cmd parameter to configuration file template. If EJABBERD_CAPTCHA environment var value is true, captcha_cmd will set to EJABBERD_CAPTCHA_CMD with fallback to /usr/local/lib/ejabberd-18.04/priv/bin/captcha.sh.