Open a port to a specific community AddOn's docker port

Hi all!

I’m using nightscout community module:
GitHub - marciogranzotto/addon-nightscout: Home Assistant Add-On for Nightscout

Within the docker container, there is a mongodb running.

I would like to open the mongodb port to the “outside” (i.e. being able to read the mongodb from my local laptop).

What is the best way to redirect a port to the nightscount-addon-docker mongodb port (27017) ?

Thanks a lot in advance for your help!

I believe, you need to fork the source repository and add whatever port you are interested in into add-on options and use your own fork locally. You should regularly fetch from upstream to keep up with changes and updates