GitHub - LemmyNet/lemmy-ansible: A docker deploy for ansible
GitHub - LemmyNet/lemmy-ansible: A docker deploy for ansible
A docker deploy for ansible. Contribute to LemmyNet/lemmy-ansible development by creating an account on GitHub.
![GitHub - LemmyNet/lemmy-ansible: A docker deploy for ansible](https://lemmy.ml/pictrs/image/e100a002-1d71-4b93-b0b9-b4bda19739b0.png?format=webp&thumbnail=256)
cross-posted from: https://reddthat.com/post/19103
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):
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