Add second container to nginx-proxy

I’m running jwilder/nginx-proxy:alpine for my nextcloud instance. My docker ps -a looks like this:

287338265e0d nextcloud:latest “/entrypoint.sh apac…” 5 months ago Up 19 hours 80/tcp nextcloud-app
20c4f073ba80 jrcs/letsencrypt-nginx-proxy-companion “/bin/bash /app/entr…” 5 months ago Up 19 hours nextcloud-letsencrypt
1a42309f874c jwilder/nginx-proxy:alpine “/app/docker-entrypo…” 5 months ago Up 19 hours 0.0.0.0:80->80/tcp, 0.0.0.0:443->443/tcp nextcloud-proxy
65fcd75eedaf mariadb “docker-entrypoint.s…” 5 months ago Up 19 hours 3306/tcp nextcloud-mariadb

Now i want to create a new docker container which needs the port 443 for https connection and also a certificate from my nextcloud-letsencrypt. What is the best way to realize this?