• 0 Posts
  • 6 Comments
Joined 11 months ago
cake
Cake day: July 31st, 2023

help-circle

  • If you know what a virtual machine is, a docker container is like a virtual machine that has a curated environment for running a specific program.

    To get more technical, they are distinct from VMs in that they share the host machine’s kernel, so they are not as isolated as a VM. Docker (the program used to build or deploy Docker containers) has an internal network it manages, mostly automatically, which contributes to the ease of deploying containers and having the curated environment that makes containers work out of the box on whatever host they’re deployed.

    So let’s say you wanted to run a Wordle clone website. You could find a “docker-compose” file online, change the configuration parameters to your liking, tell Docker to boot it, and the application and all its dependencies will be downloaded and built into a ready-made server with Wordle, the same as it works on every other machine with Docker.





  • I will echo this. I’m pretty new to homelabbing (I got a Synology NAS a year ago but have just gotten more serious about is and built a new machine last week that I have installed Proxmox and TrueNAS Core on). I haven’t set up remote access yet on the new machine, but for my Synology I have a VPS with Nginx (not NPM just vanilla Nginx) pointing to a VM on the Synology that also has Nginx, with a Wireguard tunnel between them. The VPS uses Nginx to forward ports 80/443 to the local VM (if the headers have appropriate URLs), then the local VM uses Nginx to forward the requests to the locally hosted services.

    I’m thinking about dabbling with Traefik to set things up with my new machine, but the VPS+VM (or a container) with proxy capabilities is the way to go. And, of course, have your domain point to the VPS.