Formerly /u/neoKushan on reddit

  • 0 Posts
  • 4 Comments
Joined 3 years ago
cake
Cake day: June 16th, 2023

help-circle
  • Kushan@lemmy.worldtoSelfhosted@lemmy.worldDocker is hard work
    link
    fedilink
    English
    arrow-up
    2
    arrow-down
    2
    ·
    2 days ago

    You’ve done the hard work building the compose file. Push that file to a private GitHub repository, set up renovate bot and it’ll create PR’s to update those containers on whatever cadence and rules you want (such as auto updating bug fixes from certain registries).

    Then you just need to set up SSH access to your VM running the containers and a simple GitHub action to push the updated compose file and run docker compose up. That’s what I do and it means updates are just a case of merging in a PR when it suits me.

    Also I would suggest ditching the VM and just running the docker commands directly on the TrueNAS host - far less overheads, one less OS to maintain and makes shares resources (like a GPU) easier to manage.

    You should look at restic or Kopia for backups, they are super efficient and encrypted. All my docker data is backed up hourly and thanks to the way out handles snapshots, I have backups going back literally years that don’t actually take up much space.



  • And batteries. Arguably batteries would have the biggest impact out of all of those; turn every household into a virtual power plant and the grid can self balance, especially during peak usage.

    The government is also dragging its feet on V2G which would allow your EV to act as an additional giant battery that can feed the grid and your home when usage is high, then top it back up overnight.

    There’s been a big storm in the UK, so wind is generating fuckloads of energy right now, to the point where energy providers are having to pay people to use electric - all that cheap power could be filling up batteries instead.