Hi folks, I wanted to feedback on my recent update to 0.19.3.

Since I host many services, I’m using docker for deployment, more precisely https://join-lemmy.org/docs/administration/install_docker.html.

Since I dont use ansible (yet), I had to replace most of the content of the compose file to make it work. So far this has been successful.

But updating atm is a great gamble which I’m not a fan of. Other services do this way better, especially when hosted in docker. I can even let them run in latest-mode and nothing ever breaks. Granted, they’re far more mature than lemmy but I’d like to see a normal admin being able to host this so lemmy can grow.

My pain points are:

  • I would like to have the option to just use docker without manually putting together the compose file when not using ansible
  • pictrs breaks on every update since my server icon is a png and it for some reason says the picture is broken although I can upload and view it after. I need to delete the reference in my postgres database manually to get everything working again
  • I analyze the compose files every time I update to see if any changes need to be added to my version. This time, I stumbled across the lemmy container hostname. This didnt break the whole thing but sorting by anything didnt work anymore, neither did using voyager. Commenting out the hostname made everything work again.

The point I’m trying to make here is that we should have a working docker compose file for every update. Pros can still change everything they like. If there is a reason that we must use ansible please state the reason clearly in the documentation. I’m fine with doing so if there is a compelling reason.

Also, I use docker for years in production now and I would like to help if this is needed. Let me know if you’re interested.

Have a good one.

  • ReversalHatchery@beehaw.org
    link
    fedilink
    English
    arrow-up
    3
    ·
    5 months ago

    Afaik that’s docker’s fault. They always mark the latest uploaded image as latest. But also I thought it’s well known that :latest shouldn’t be used for any kind of software, unless you are a developer

    • synae[he/him]@lemmy.sdf.org
      link
      fedilink
      English
      arrow-up
      1
      ·
      5 months ago

      That’s not quite the case actually, the image builder doesn’t have to update the latest tag, but that’s the usual default configuration since it’s easier for out-of-the-box usage such as newbies, demos, etc.