How to access Vikunja docker-compose container from my home network

Ok that makes sense. Thanks! Can you please explain how to disable user registration?

I read Config options | Vikunja and following the instruction I used the provided default config.yml. I created a directory /etc/vikunja and this is where I placed the config.yml . inside the config I changed the variable enableregistration: so that it states false

at this point i restarted the container with the following commands so that the changes in the config take effect (is this required?)
sudo docker-compose down
sudo docker-compose up

but still when I go to Vikunja login screen there is a Registration box which successfully allows me to register.

What am I doing wrong?
I read your response to a similar question here, but it isn’t very clear to me Disable Registration and User management is what you are saying is that I have to mount the /etc/vikunja/config.yml ? How can I do that?

I also tried adding VIKUNJA_SERVICE_ENABLEREGISTRATION: false
to the docker-compose.yml but then when i tried running sudo docker-compose down
I received the error:
ERROR: The Compose file ‘./docker-compose.yml’ is invalid because:
services.api.environment.VIKUNJA_SERVICE_ENABLEREGISTRATION contains false, which is an invalid type, it should be a string, number, or a null

Thank you for all your help, and also for wiring such an incredible piece of software!

EDIT: could you also advise on creating a self signed certificate so that the connection is https instead of http ? I looked through all the docs but can’t see anything pointing to this. Thanks!