How to fix Jigasi config file getting overwritten


My .jitsi-meet-cfg/jigasi/ is getting overwritten every time I start Jigasi, but I need to set

in order for my SIP communication to work.


Run this script after starting the jigasi container. It will fix the overwritten config and then restart the Jigasi Java process without restarting the container


sed -i -e "s/# SIP account/" .jitsi-meet-cfg/jigasi/

# Reload config hack
docker-compose -f docker-compose.yml -f jigasi.yml exec jigasi /bin/bash -c 'kill $(pidof java)'


Original source: This GitHub ticket which provides a similar solution for a similar problem