footty@lemmy.worldtoSelfhosted@lemmy.world•[Question] Installing Lemmy instance from docker -> 502 bad gatewayEnglish
1·
1 year agoThat 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"
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.docker kill
your postgres instancedocker-compose up -d
and now it’ll workI 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.