Hey, does anyone else have issues running a lemmy instance with docker compose?

I cant get it to work. I followed the guide on the wiki step by step to no avail…

Edit: This is my error message with the docker-compose config as provided by the guide:

Then I tried to remove the logging bits, I get this error:

Then I started over and pulled the github repository and edited the files in the docker subfolder and I get this error:

I give up 🙂

  • marsara9@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 year ago

    Are you planning on modifying the lemmy backed or UI? If not I would suggest:

    1. Comment out the sections about building the image from scratch.
    2. Go to dockerhub and find the newest tag that matches your system’s architecture and use that instead.

    If you can paste your docker-compose file we can more precisely tell you what needs to be changed.

    The default config expects that your cloning the entire GitHub repo, for the backend, at least, and tries to compile it from scratch. You can instead just tell docker to use a precompiled image instead.

    Lastly YAML is very picky about whitespace so something might be indented incorrectly. So again, if we can see your docker-compose file we might be able to see what’s wrong.