How to setup discourse on my own home server

If you have a static IP I’m fairly certain a home setup will be vastly more vulnerable.