Running Ghost and NGINX on Docker running on a Raspberry Pi
Basic Port Forwarding
Any time you want to expose your Raspberry Pi to the internet you're going to need to do some port forwarding from the device that is connected to your internet - commonly referred to as your "Router" - although, I'm pretty sure there is a better term for it - this is what we're going with for this tutorial.
I'm using Google Wifi simply because that's what I have at home :)
The steps are very simple.
- Figure out what ports you want to forward - in the case of my Hello World project it's Port 80 and 443.
- Figure out which device you want to forward them to.
- Configure your "router" to forward the ports for you.
Below are screen shots of me adding the port forwarding for this blog.
(ubertester = uberbuilder) - I took these screenshots after I already launched my blog and didn't want any down time during taking screenshots... So, in some of the screenshots you see
ubertesterand in some you see
uberbuilder. Just use your imagination - you should think of them as the same thing ;)
The "yellow" highlights are what you need to click on.
That's it! You're all done.
I'll try to figure out a way to post these screen shots in a more elegant way in the future.