Add docker NS to an AS in a different machine

I have a NS in a docker container inside a Virtual Server. IP: 159.x.x.x
I have an AS in a differente machine. IP:160.x.x.x

I want to add the docker NS to the AS.

How should I configure the hostname:port field?

I have exposed port 8000 in the NS section of the docker-compose.yml, and it seems to work.

Should I expose any other port?