I’ll start off by saying I’m pretty new to docker. Also, if this is not the appropriate avenue for my question please feel free to direct where I need to go. Has anyone successfully run the lora app server via docker with a lets encrypt cert and nginx reverse proxy? I’ve tried with the nginx reverse proxy docker image at https://github.com/DanielDent/docker-nginx-ssl-proxy but have failed. This is what my docker-compose.yml looks like:

In all honesty, I’d get LoRaServer.io working with TLS certs and without docker first.

Once that’s working, you can look at how the docker containers fit together, but if you don’t understand how the platform fits together without docker, it’s going to be a lot harder with an added layer of abstraction.

If you install without Docker, then you can update the config files to all point to the same certs, and then from there you can work out how to get those certs into the containers.

FWIW, we’re using LetsEncrypt quite happily with LoRaServer.io, just remember to configure NGinx to serve the full-chain cert, not just the “normal” cert, otherwise you’ll get errors all over the place.

In case anyone else is trying to do this, I found the issue. After running docker-compose up, you need to get into the nginx container (run docker ps to obtain the container name). After you’re in the container open /etc/nginx/conf.d/default.conf And edited this line proxy_pass http://your.domain.com:8080

Again if you’re new to docker, after you get the container name, run the following to get into the container: