So you want to know how we host lemmy?

I bought a server for 12 months, cloned this repository, edited the smtp details, modified the host vars, and ran the deploy!

The lemmy stack uses nginx, docker, and certbot. Inside docker it runs, lemmy, lemmy-ui, pictrs, postgresql, and postfix.

For our CDN we are using the “dreaded” cloudflare for caching. Here’s a pretty picture of our analytics for the past 7 days (the whole life time of reddthat.com):
Screenshot of cloudflare analytics Incase you hate me for using cloudflare, don’t worry I don’t like using it either, but it’s free for the time being. We are planning to move to BunnyCDN once we become funded. We’ve enabled Strict SSL to ensure all communications are secure. We also allow Tor users to access the site, and have our cloudflare “security” setting to minimal.

We are using UptimeRobot for our status page; status.reddthat.com.

Emails are hosted via my Mailcow instance.

The git repo linked here has been forked to a git repo and I’ll be looking at making some changes in the coming days. Mainly to add the nginx configuration to be part of the code as well. It will then be completely under code, not just partly under code as it is now.
This is a gitea instance utilising gitea_runners, so once I get that done, I’ll be creating gitea actions for:

  • Adding renovate to automatically check for new versions of the docker files and notify of passing tests
  • Once the PR is merged, automatically deploy it.

& that’s about it.

Tiff

  • hexed
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    Hi Tiff, I was wondering if you might have an idea about this: I deployed an instance using this ansible playbook. When I install the Android PWA for my instance the app name is “New Site” and the icon is the default Lemmy icon. I noticed that Reddthat’s PWA seems to work fine, so I thought you might know how to resolve. Thanks!

    • TiffOPMA
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 year ago

      Hey hexed,
      I think it’s to do with the favicon? I had the same issue when I originally setup the site.
      After adding & removing over a couple of days it ended up working.
      Not entirely sure why it started working but it did.

      • hexed
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        Huh, weird. I’ll try uploading a new icon and pray. Thanks!