I'm trying out a home server with debian installed. I've also installed https://yacht.sh/docs/Pages/Applications and am now going to make a postgres docker. I'm not familiar with yacht.sh I'm just trying it out. But I want a docker postgres server for my random scripts to connect to. For that purpose, which network mode would be best for this? I'm generally familiar with docker in an amateur sense, this is just a hole in my knowledge.
I'm reserving a native debian install of postgres for a different purpose.
I'm open to unrelated suggestions about what to install on my new home server. Samba is already installed, Jellyfin is next after this.
Yeah, bridge is good because it allows the containers to communicate using their container IP while you can access them using the host IP and container port.
Also recommend throwing Nginx or Nginx proxy manager on there to help you manage routing and domain names. If you create a record in your router you can point it to your host machine then let Nginx figure out which container and port it is by reading the URL.