I have a debian linux host with docker installed on it. I followed the guide here: https://join-lemmy.org/docs/en/administration/install_docker.html
Changes that I made:
- I used a sub folder called
lemmy
in my containers area rather than/lemmy
- I copied the nginx.conf file from https://github.com/LemmyNet/lemmy/blob/main/docker/nginx.conf to my lemmy folder and ran a docker-compose up.
- I changed the proxy service ports to 17008 (other service runs on 80) and 17003 (instead of 443).
I changed absolutely nothing else. No hostnames, no passwords. Nothing. The docker logs show it up and running.
Docker ps shows the instance fine too:
I’ve tried accessing http://<hostname>:17008
, https://<hostname>:18003
. I’ve tried setting my local hosts file for hostname “lemmy” to that server IP and accessing via http://lemmy:17008
and https://lemmy:18003
Is there something obvious that I’m missing?
I did it! I got my instance up and running. I had to still create the pictrs folder and chown on it to get pictrs to work. And then after that, it was just doing Nginx Proxy Manager and some config in my hjson file. https://www.pastery.net/rpmppa+tdqrrx/#rpmppa
@dessalines@lemmy.ml
Though, I do still need to figure out why images aren’t loading… source
If the pictrs docker logs look fine, it could be more proxy issues. Take another look at the pictrs info docker-compose.yml, lemmy.hjson, and nginx.conf in the lemmy-ansible repo, and make sure it matches your setup.
Sweet, glad you got it.