Install script for Jitsi

We are trying to automate the installation process using sh script. While installation it asks for domain name and location of certificate. Is there a way we can skip this and pass them as parameters?

apt-get -y install jitsi-meet #some parameters?

How do we achieve this?

You will need to answer the questions beforehand by populating the values with db_set jitsi-videobridge/jvb-hostname "YOUR HOSTNAME" then db_set jitsi-meet/cert-choice "I want to use my own certificate" db_set jitsi-meet/cert-path-key "/etc/ssl/YOUR_KEY.key" and db_set jitsi-meet/cert-path-crt "/etc/ssl/YOUR_CERT.crt"

I was using the following for self-signed:

echo "jitsi-videobridge jitsi-videobridge/jvb-hostname string" | debconf-set-selections
echo "jitsi-meet-web-config jitsi-meet/cert-choice select 'Generate a new self-signed certificate (You will later get a chance to obtain a Let's encrypt certificate)'" | debconf-set-selections