Site not accessible from browser - docker problems

You do not need nginx. My guess is that when you restarted it, Discourse managed to grab port 80 while nginx was restarting. And you lucked out that when you rebooted discourse managed to boot up before nginx. You should uninstall or disable nginx (unless you configured it as a reverse proxy, which you can’t do with discourse-setup).