this post was submitted on 05 Jun 2023
9 points (100.0% liked)

Lemmy Support

157 readers
1 users here now

Support / questions about Lemmy.

Matrix Space: #lemmy-space

founded 5 years ago
MODERATORS
 

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?

you are viewing a single comment's thread
view the rest of the comments
[–] jax@lemmy.cloudhub.social 9 points 1 year ago* (last edited 1 year ago) (2 children)

I've opened some pull requests on the main app repo and the docs repo with changes that should fix the docker install issues people have been having.

Specifically: https://github.com/LemmyNet/lemmy/pull/2908 / https://github.com/LemmyNet/lemmy-docs/pull/186

The hero we need.

[–] RoundSparrow@lemmy.ml 1 points 1 year ago (1 children)

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 1 points 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.