entrypoint.sh 257 B

123456789
  1. #!/bin/sh
  2. echo "define_macro:" > ~/env.yml
  3. echo " HOSTNAME: $HOSTNAME" >> ~/env.yml
  4. echo " IP_ADDRESS: $IP_ADDRESS" >> ~/env.yml
  5. cat ~/env.yml
  6. # Run ejabberdctl as done in the original entrypoint from the dockerfile
  7. /home/ejabberd/bin/ejabberdctl "$@"