Formerly /u/neoKushan on reddit

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

help-circle
  • Kushan@lemmy.worldtoSelfhosted@lemmy.worldIs Plex really Self Hosting?
    link
    fedilink
    English
    arrow-up
    101
    arrow-down
    1
    ·
    2 months ago

    It’s self hosting by the literal definition that you host the server yourself.

    That it’s closed source and sends all kinds of data to another server is an entirely separate (and valid) concern.

    As much as I agree with the concerns around Plex, I would rather we didn’t start gatekeeping the self hosting community with arbitrary requirements and grey lines around what is and isn’t “true self hosting” or whatever. I would far rather we inform people and let them make their own choices about what they want to host on their private devices and networks.




  • Kushan@lemmy.worldtoSelfhosted@lemmy.worldDocker is hard work
    link
    fedilink
    English
    arrow-up
    2
    arrow-down
    2
    ·
    4 months 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.



  • It was a couple of weeks ago for me but I managed to get my docker compose script for all my infrastructure cleaned up and all versions of containers are now pinned.

    I have renovate set up to open PR’s when a new version is available so I can handle updates by just accepting the PR and it’s automatically deployed to my server.

    Nice and easy to keep apps up to date without them randomly breaking because I didn’t know if a breaking change when blindly pulling from latest.



  • I generally agree with the sentiment but don’t pull by latest, or at the very least don’t expect every new version to work without issue.

    Most projects are very well behaved as you say but they still need to upgrade major versions now and again that contains breaking charges.

    I spebt an afternoon putting my compose files into git, setting up a simple CI pipeline and use renovate to automatically create PR’s when things update. Now all my services are pinned to specific versions and when there’s an update, I get a PR to make the change along with a nice change log telling me what’s actually changed.

    It’s a little more effort but things don’t suddenly break any more. Highly recommend this approach.







  • Start off simple, use something like uptime-kuma just to check your services are available - takes minutes to set up and can send you notifications when something goes down. It can plug into docker directly to check if a container is up, as well as perform HTTP checks that the service is responding, plus some other cool stuff.

    (Side note, I set up ntfy to handle notifications and it’s great! Another solid recommendation but you can use discord web hooks or whatever as well)

    The other options described here are good for gathering and visualising data, but it takes quite a bit to set them up and even more to configure the right kinds of alerts to notify you when something is wrong. A simple “is this docker container running” check or a “does this respond with a http 200” check gets you like 95% the way there.



  • This is a "slippery slope’ argument and thus a fallacy.

    Let users decide how they want to run their own stuff. Right now if you have Plex pass this isn’t an issue. If it becomes an issue, then you’re in the exact same position you’d be in today if you decided to move away from Plex now.

    I moved away from Plex years ago, but I don’t blame users for sticking with it, it still has a lot of advantages over jellyfin.

    EDIT: Y’all are trippin’ over yourselves to complain about what other people choose to deploy on their own hardware.