I am a software developer by craft and a linux system admin by hobby. I cannot commit to moderating and managing my own instance, but I would be glad to help someone with the technical aspects.
The most common complaint I saw in Reddit and here about switching to Lemmy is the difficulty of setting it up, so I thought I would help bridge this gap.
While I have never hosted my own instance before, I already checked the setup guide and it looks pretty simple to me, so I am confident I can do it. Please feel free to comment or DM.
It would be great if you can comment general questions. I can then respond to you here and maybe others will see it and know how to host their own instances too.
The thing I struggled with the most was adapting the provided
docker-compose.yml
for my Caddy setup.I am using caddy-docker-proxy, which I absolutely love but their documentation is not the greatest for matchers.
If anyone else wants a super basic Lemmy instance running on Caddy with their domain on Cloudflare here is a
docker-compose.yml
Please make sure you update your
lemmy.hjson
hostname
field to match the domain you used in thedocker-compose.yml
for thecaddy
labelsIf you’re not using Cloudflare you can replace
build: .
(and not use theDockerfile
I provided below) in the caddy service withimage: lucaslorentz/caddy-docker-proxy:ci-alpine
(and remove thecaddy.acme_dns
label) and I believe it will fall back to Let’sEncryptHere is the Dockerfile used for the caddy container: