As stated by @prefiks in https://github.com/processone/docker-ejabberd/issues/110#issuecomment-1941127153 the CTL_ON_CREATE variable value should look like CTL_ON_CREATE=! register admin localhost asd. There is no need to escape the ! which actually breaks the script. Just a small typo that probably got in a way when adjusting the docs. Please see the below logs:
Hey guys,
I have been checking out the new feature introduced in https://github.com/processone/docker-ejabberd/issues/110 which is great but noticed that the example provided in the repo does not work.
As stated by @prefiks in https://github.com/processone/docker-ejabberd/issues/110#issuecomment-1941127153 the CTL_ON_CREATE variable value should look like
CTL_ON_CREATE=! register admin localhost asd
. There is no need to escape the!
which actually breaks the script. Just a small typo that probably got in a way when adjusting the docs. Please see the below logs:Faulty example (based on docs in repo)
Logs of the faulty example
Working example
Working example logs
Let me know if you need me to provide more details or something does not look right. Thanks for the great docker image!