First post from my new, self-hosted, personal instance. Feels good!

  • reflex_aliens@lemmy.ml
    link
    fedilink
    English
    arrow-up
    28
    ·
    1 year ago

    Nice work dad. How difficult was it? I’ve been thinking about going down that road but concerned about the overhead.

    • Osayidan@social.vmdk.ca
      link
      fedilink
      English
      arrow-up
      28
      ·
      1 year ago

      If you host the instance just for your own account to be under your control there’s hardly any overhead. I’m running it in docker in a debian 12 VM with 1 GB ram, 1 virtual CPU and 50GB virtual disk. Haven’t had any issues.

      • some_guy@lemmy.sdf.org
        link
        fedilink
        English
        arrow-up
        11
        ·
        1 year ago

        This is valuable info. Is there a Docker image that’s preconfigured for it or did you install on a LAMP image or other third way?

        • dan@upvote.au
          link
          fedilink
          English
          arrow-up
          12
          ·
          edit-2
          1 year ago

          There’s a few Docker images, since it needs a database and some other services, and the best practice with Docker is one container per service. The documentation is here: https://join-lemmy.org/docs/administration/install_docker.html

          I removed the Nginx server from the docker-compose.yml though. I already had an Nginx server running on the same server, so I just added the config to the existing server instead.

          • maxgry@lemmy.iqecke.de
            link
            fedilink
            English
            arrow-up
            5
            ·
            1 year ago

            I also installed my private server and setting everything up was quite easy :) I left nginx as is and just put everything behind my Caddy as reverse proxy

            • dan@upvote.au
              link
              fedilink
              English
              arrow-up
              2
              arrow-down
              1
              ·
              edit-2
              1 year ago

              I’ve been meaning to try Caddy and Traefik. I’ve been using Nginx for so long and don’t really have a reason to switch though.

              For Lemmy, I didn’t see a major advantage of running a reverse proxy behind another reverse proxy which is why I’m not running Lemmy’s Nginx container.

        • Osayidan@social.vmdk.ca
          link
          fedilink
          English
          arrow-up
          3
          ·
          1 year ago

          I went with docker but back then their documentation for it was trash and hardly worked. Had to trial and error it until it was functional. Hopefully they fixed that by now.

    • orca@orcas.enjoying.yachts
      link
      fedilink
      English
      arrow-up
      7
      ·
      edit-2
      1 year ago

      If you do end up going for it, Lemmy Easy Deploy is the tool I used and it’s awesome. I had no success with any other guide.

      It was pretty easy with that tool. The overhead isn’t too bad but I recommend not going below 2GB of memory. I rode along on 1GB for a little while to see how things went, and it topped out quite a bit. I pay a little extra for automatic backups too which is worth the peace of mind. It’s about ~$18/month with Digital Ocean.

    • CrimeDad@lemmy.crimedad.workOP
      link
      fedilink
      English
      arrow-up
      4
      ·
      1 year ago

      Well, I couldn’t figure out Docker because I’m a newb, so I decided to give the app in Yunohost a try. I was reluctant at first, because when I last checked the available version of Lemmy was kind of old and image uploads were broken. However, when I checked today, the version was 0.18.2 and the disclaimer about the broken feature was gone. So, I gave it a try and it just worked. I do still have to test image uploads.

      We’ll see about overhead. I’ve got it running on a VM to which I’ve allocated 500GB. The VM is on an older i5 desktop with 16GB of RAM. I’ve already been running a Pixelfed instance for a couple of weeks and so far so good.