Publish ports on all interfaces. The ports are then accessible from "outside" unless the firewall blocks traffic.
$ docker run -p 80:80 nginx
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
16f16f77fc90 nginx "/docker-entrypoint.…" 10 seconds ago Up 9 seconds 0.0.0.0:80->80/tcp, :::80->80/tcp dreamy_neumann
$ ss -t -n state listening 'sport :80'