• 4 Posts
  • 284 Comments
Joined 3 years ago
cake
Cake day: December 28th, 2023

help-circle




  • There is a user here that mentioned he is in funding talks for a local, independent ISP. I’m not really sure I’m ready to be connected to my neighbors intimately. Good fences make good neighbors.

    Why do you think an independent ISP would operate any differently at the networking level on a per-customer basis? This is basic network segmentation, and my home gear can do that pretty easily. Throw each customer on their own vlan that’s a /30 and they can’t do anything more than talk from their node to the central router.

    Good firewalls make good digital neighbors, and an independent ISP isn’t going to survive long if Alice can access Bob’s home network over the ISP without having something specifically configured in Bob’s network to allow that.






  • Some hobbies have minimal levels of skill/knowledge/equipment to properly do them, and I’d argue that self hosting is one of them. You can say people are hostile to beginners, but I might say people are trying to save them from themselves by not just telling them how to slap shit together so they can put it on the Internet and get owned by Internet Background Radiation in a short period of time.

    My personal opinion is that beginners are too over confident in their skills or expect setting things up is like setting up an online account, and expect everything to be ready for them to install in their preferred method, and get upset when people tell them they need to upskill to be able to accomplish their goal.

    An example of this is a conversation I had with someone online about some docker distributed app, and people were trying to get the person to use docker like the install doc says instead of trying to figure out how to just install it directly into the OS, because that’s the way they’re used to doing stuff and they were determined they weren’t going to change now despite the software author’s supported path not including direct install. If the person was willing to learn docker (which is not very difficult if you can follow a tutorial and use compose files), they’d be able to quickly accomplish what they want while also opening more doors for them in the future.









  • I usually just do

    Docker compose down
    Docker compose up -d
    

    As I would with any service restart. The up -d command is supposed to reload it as well, but I prefer knowing for certain that the service restarted.

    Out of curiosity, what did you update and what broke? I had that happen a lot when I was first getting started with docker, and is part of how I learned. Once you have a basic template (or have dec supplies example files), it makes spinning up new services less of a hassle.

    Though I still get yelled at about the version entry in my fines because I haven’t touched mine in forever



  • Docker compose pull; docker compose down;docker compose up -d

    Pulls an update for the container, stops the container and then restarts it in the background. I’ve been told that you don’t need to bring it down, but I do it so that even if there isn’t an update, it still restarts the container.

    You need to do it in each container’s folder, but it’s pretty easy to set an alias and just walk your running containers, or just script that process for each directory. If you’re smarter than I am, you could get the list from running containers (docker ps), but I didn’t name my service folders the same as the service name.