I remember I did that. If I recall correctly.
This should be fairly simple.
In your nginx conf add another server block for the new domain.
server {
listen 80;
listen [::]:80;
server_name your.new.domains;
location ~ /.well-known/acme-challenge {
allow all;
root /tmp/acme_challenge;
}
}
You can add another server_name there
Restart Nginx container.
In docker-compose-le.yaml, add another domain to the list
command: sh -c "certbot certonly --expand --webroot -w /tmp/acme_challenge -d test.leangaurav.com, your.new.domain --text --agree-tos --email your.email@email.com --rsa-key-size 4096 --verbose --keep-until-expiring --preferred-challenges=http"
Run lets encrypt container again.. and things should be good.
LMK if it worked !!