- #!/bin/sh
- echo "define_macro:" > ~/env.yml
- echo " HOSTNAME: $HOSTNAME" >> ~/env.yml
- echo " IP_ADDRESS: $IP_ADDRESS" >> ~/env.yml
- cat ~/env.yml
- # Run ejabberdctl as done in the original entrypoint from the dockerfile
- /home/ejabberd/bin/ejabberdctl "$@"
|