I’m trying to deploy my own instance following install with docker but seems it’s not up to date. Or am I missing something?

Not sure if it’s relevant, the version of the files to download is 0.17 instead of 0.17.3 as the latest release in the github repo.
Also, I’m guessing I’d need to download the rest of the files listed in the prod folder, not just the two in the documentation
https://github.com/LemmyNet/lemmy/tree/0.17.3/docker/prod

Also, I’m trying to use Caddy, I’m guessing I should replace nginx in the docker-compose.yml, correct?
Or can I use the Caddy service of the host machine instead of a new docker container?

  • RoundSparrow@lemmy.ml
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    Ok, looking at it after it was committed:

    https://github.com/Just-Insane/lemmy-docs/blob/614ec9e61e45fa943b46613b07a40f414462c8f7/src/en/administration/install_docker.md

    The instructions are not very clear on the proxy setup. It kind of hand-waves a suggested config after the “To make Lemmy available outside the server, you need to set up a reverse proxy, like Nginx. You can use the following simple proxy:” preface, but is not really specific which file this goes in. Is this appended to the nginx.conf?

    Thank you

    • jax@lemmy.cloudhub.social
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      I mostly didn’t touch that part, it seemed to be outside the scope of the article and suggesting a config for each person’s exact setup isn’t going to be possible.

      This would be for putting in front of the nginx proxy built into the compose file. In theory you could do SSL offloading here or whatever you want, as long as you don’t change the headers needed by the nginx.conf file further up the page.