How to for self hosting behind NAT?

Looking around for guides I found this post from you from 2023 with a full docker-compose yaml and env file, is it still relevant today?

That or should I use this guide? Deploying with Docker | NetFoundry Documentation

I assume there is no openziti repository for use with apt for debian/ubuntu?