footty

joined 1 year ago
[โ€“] [email protected] 1 points 1 year ago

Well, I'm here again. I get a 504 gateway timeout after upgrading or doing docker-compose down, and found a weird fix for it.

  1. docker kill your postgres instance
  2. Go to your webpage and wait for it to tell you an error
  3. docker-compose up -d and now it'll work

I tried killing postgres and bringing it up immediately as well but that did not fix the problem. Weird magical incantation and downvote me all you want, just wanted to throw it out there.

[โ€“] [email protected] 1 points 1 year ago

That is a conf for the host system nginx, in which you enter the lemmy port defined on the left side of your proxy service's port section.

...
ports:
      # actual and only port facing any connection from outside
      # Note, change the left number if port 1236 is already in use on your system
      # You could use port 80 if you won't use a reverse proxy
      - "{{ lemmy_port }}:8536"