I have tried installing it with docker on Ubuntu 20.04 and 22.04 LTS but cannot seem to get it working. The build keeps erroring out with docker errors.
If your using docker I recommend getting a docker-compose file that does 98% of the config work for you. Pretty sure there’s one in the install docs.
I’ve been having trouble understanding how the docker-compose thing works, and the whole… impermanence of docker containers. Got any tutorials you’d recommend? Note I’m on Windows.
Are you planning to host it on a Windows machine?
If you don’t have experience with docker, don’t jump straight to docker compose. Start simpler.
If you want to have data persist after a container is killed, have a look at the -v option of “docker run”. It allows you to mount a volume.
I’m using Proxmox and Docker-Compose. My instance is on an alpine LXC.
Very happy with it.
Would it be possible to teach us? Or give a quick step-by-step guide to make in run at least?
Well, if it’s your first time selfhosting and setting up your environment, I’d to things in steps. Great thing about virtualization is that you can snapshot.
Once you get proxmox up and running, choose an OS to virtualize, snapshot once made. Snapshot once configuration for users etc, snapshot once docker has been installed, snapshot after docker-compose has been configured… You get the idea.
Set up backup of the VMs/containers, set up lemmy using the official docker-compose step-by-step guide. Once you reach it on port 80, set up nginx.
I used Lemmy Easy Deploy
What are the errors?
I was able to get it running from source on Gentoo (without docker). Building from source is an option but you need to manage the dependencies and daemons yourself. This is my first comment! Good luck with your setup
Kubernetes
I got mine running via Docker by copying the docker-compose, nginx, and lemmy.hjson files from the lemmy-ansible repo. Everything is working so far except votes and comments from other instances. They won’t sync for some reason.
You are using two technologies that have a bad of working like shit, together; Ubuntu/snap and docker. You can try podman if you want, or a different distro. Or, at least, install the official docker way.
I tried with the official docker way, and failed too many times :) . Then I decided to lurk around some public instances and let the platform mature for a little bit more. The problem is usually the docker build fails.
Post your docker-compose file and error message here see people can actually provide advises to your setup.
If you post your configs and errors we might be able to help you. I set up a vm with docker compose and proxy it through traefik instead of nginx
Will self-hosting Lenny have the limitation that you’ll be missing a lot of comments when subscribing to magazines from other instances? I am considering it tough
Comments federate to instances with subscribed users for that community. The first time a user subscribes to the community federation will start and future comments will begin to show up on the instance. Can’t see old comments… on smaller/self instances that problem will be more visible.
Been trying for like 2 weeks - Lemmy Easy Deploy, a couple different guides through google, couple different youtube vids, the official docs. In and out of docker, always with a fresh VM (Debian and Ubuntu)… It always installs without errors, but never get it to load the page in a browser. Not sure what’s wrong, maybe just cursed.
Not specific to Lemmy but ubuntu’s weird snap version of docker has given me random issues in the past, perhaps that could be the issue. Installing docker by following the official instructions means you are guaranteed to get a fully functional install and that’s one variable you wouldn’t have to worry about at least.
Edit: Forgot to mention but I’m running it on docker myself, I just followed the official documentation and whatnot. Using a debian 11 based LXC on Proxmox.
I’ve been having issues with 0.17.4. I saw people suggesting a non-docker, build from git method but really wanted docker to work.
I’m now using 0.18.0-rc.4. Built without issue using the dockerhub image and has been stable for 24hrs