What registrar do you plan to use for your domain? Like example.com.
If you want to use Cloudflare, maybe I could make a guide on the selfhosted subs for what has worked for me.
Support / questions about Lemmy.
What registrar do you plan to use for your domain? Like example.com.
If you want to use Cloudflare, maybe I could make a guide on the selfhosted subs for what has worked for me.
I used Namecheap but I can switch to anything. I haven't heard of Cloudflare. How would switching to it affect the setup process?
It doesn't change much. I just have a dead-simple Caddy config that uses a Cloudflare API token to automate HTTPS certificate renewal. Much simpler than the nginx stuff they recommend.
But since I use Caddy instead of Nginx, I can't exactly give you my config if you wanted to use Nginx. The same thing I'm doing with Caddy can likely be done easily with Namecheap, but I'm too lazy to go and research that :p
To answer your original question, their docs are a bit lacking, and their Docker stuff seems to change every single time they do a release. Their config is also broken, I don't know how their lemmy.ml service functions with this config, but the docker-compose.yml they provide completely firewalls off federation, and pictrs can't reach the internet to download thumbnails.
If I have some time I might write up a guide to help the masses, but for now, maybe it will be a little easier if you use their stable files instead (still has the same issues I mentioned though):
Thanks for the info. Sounds like Docker isn't the way to go unless I want to spend a lot of time troubleshooting issues. Have you tried the Ansible method? Is it any easier or more reliable than the Docker method?
Oh no, Docker is 100% the way to go for reliability. The Ansible script is a mess. It only works on Debian based systems (which I didn't have previously), I couldn't get email working, and I had a weird issue where I couldn't sign up for my own instance.
Granted, I didn't even try to get email working on Docker because I don't need it, but the Ansible build is much less maintainable for me. On Docker compose, I change 2 version numbers in the file to update and that's it. For Ansible, I'm not sure how it would work, I guess I have to wait for the Ansible author to update the script first, so I would be reliant on them.