this post was submitted on 22 Jun 2023
13 points (93.3% liked)

Selfhosted

40246 readers
1143 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

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.

you are viewing a single comment's thread
view the rest of the comments
[–] jeena@kbin.social 1 points 1 year ago

Here is mine https://gist.github.com/jeena/6179470a8d616455f30635a5c71f5f64 which had a similar problem with the comments, although I couldn't post comments on my own instance either.

For me the thing was that I had to add:

map $http_upgrade $connection_upgrade {
    default upgrade;
    ''      close;
}

and

        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection $connection_upgrade;

And also change the nginx in the docker to port 8080 so my normal nginx could keep running on 80 and handle all the ssl certificate stuff.

My setup is:

Browser -> native Nginx -> docker Nginx -> lemmy