Nginx is also installed within the docker container, it has never been required outside.
You have two instances of nginx listening on the same port. If the only thing on this server is Discourse, then the duplicate nginx outside the container can be removed quite safely.