I run horwood.cloud

Pixelfed

Could you help fund my server 👉 Fund me

  • 0 Posts
  • 3 Comments
Joined 3 years ago
cake
Cake day: July 27th, 2023

help-circle
  • First off, when you run a container without an outside IP set. Docker will bind that port, in your case 8000 to all ports. So hitting any of the domains on the vps on port 8000 should show your docker site.

    Second, if your VPS is like my OVH VPS then it has only an internet IP. So any open ports are open to the internet at large.

    If you want to host lots of sites on a single IP, then you will need a reverse proxy of some sort. I would recommend that your docker site is using 127.0.0.1:8000:8000 so that it’s only visible on the VPS. (If your ports are different then use what you and prefix 127.0.0.1)

    I run similar to your setup, nextcloud is in a VM and lots of docker sites. What do you need to know?