Malin@omg.qatoSelf Hosted - Self-hosting your services.@lemmy.ml•Self-hosting Lemmy on HetznerEnglish
0·
2 years agoI used docker-compose version and had to work around a couple of bugs like needing to redundantly install Nginx and Let’s Encrypt for it to work properly with SSL and also having to add the lemmy container to the internet facing network due to the DNS not working on it and subsequently loosing federation capability. Overall a bit of a struggle, but this is common with FOSS.
Well if you are using docker-compose you could probably get rid of the nginx container and only deploy the other four: lemmy, lemmy-ui, pictrs, postgres. You would then use the nginx.conf stuff you have in place for the docker container of nginx to proxy to lemmy-ui and lemmy on ports 1234 and 8536. Or if you plan to keep using the docker container for nginx then you can change the listening port in the nginx.conf of the container:
listen 80;
to something different like
listen 1080;
Also in the docker-compose.yml you would update the nginx ports to
1080:1080
.Hope this answers your question.