Formerly /u/neoKushan on reddit

  • 0 Posts
  • 11 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
    ·
    25 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.