youpie_temp

joined 1 year ago
[–] youpie_temp@reddthat.com 30 points 1 year ago (2 children)

capitalism is the fundamental problem

[–] youpie_temp@reddthat.com 1 points 1 year ago (2 children)

I actually need the website to be hosted at 8085, as the nginx reverse proxy is listening at that adres, and it has already bound to port 80 and 443. When i open internal port 80 to 8085 and set the lemmy port to 8086 in the compose file. when i then visit the site i get a redirect loop. (im probably doing something horribly wrong). Also lemmy keeps panicking

[–] youpie_temp@reddthat.com 1 points 1 year ago (4 children)

thank you, the config now runs, unfortunately i am now getting a bad gateway when visiting the website. Also in the logs i see two errors that catch my eye thread 'main' panicked at 'Failed to load settings file, see documentation (https://join-lemmy.org/docs/en/administration/configuration.html): LemmyError { message: None, inner: Is a directory (os error 21), context: SpanTrace [] }', crates/utils/src/settings/mod.rs:20:20 and caddy_1 | {"level":"error","ts":1688725909.314515,"logger":"http.acme_client","msg":"challenge failed","identifier":"lemmy.emphisia.nl","challenge_type":"http-01","problem":{"type":"","title":"","detail":"","instance":"","subproblems":[]}}

Also according to portainer, no ports are open on the caddy server. I have never used caddy. Thank you btw for trying to help me :))

[–] youpie_temp@reddthat.com 1 points 1 year ago (6 children)

thank you very much for your config file, however on pasting it and running it, i get the error

ERROR: The Compose file './docker-compose.yml' is invalid because:
Unsupported config option for services.caddy: 'lemmy'
[–] youpie_temp@reddthat.com 1 points 1 year ago (8 children)

according to portainer, no other docker containers are using ports, so i don't know what ports to set them as. I assume they are communicating over an internal network and the nginx is the only open external port.

I am using two nginx servers because one nginx server is used by lemmy to give me one port to access. And the other one i use to set up my reverse proxy so that i can host more than one service on my server.

I dont know why i have different versions of the ui and backend. I am just using the latest version avalible on the docker website.

My docker compose file looks like this and the lemmy config file looks like this i got this config from here because i was looking for a way to correctly set-up my email because de documentation about the config file is really bad. But when using the default config file (found here).

[–] youpie_temp@reddthat.com 1 points 1 year ago (11 children)

I am actually already running that config in the internal nginx, but i've never changed anything about it. what do i need to specify when they say "# this needs to map to the lemmy (server) docker service hostname" do they want the name of the docker container, and do they want the internal or external port?

[–] youpie_temp@reddthat.com 1 points 1 year ago* (last edited 1 year ago)

~~is this one for the internal Lemmy nginx or the reverse proxy?~~ edit: the name makes that quite clear

[–] youpie_temp@reddthat.com 1 points 1 year ago* (last edited 1 year ago) (14 children)

im using an nginx reverse proxy with the template provided by lemmy.(this one) Im using the docker install the website is lemmy.emphisia.nl

view more: ‹ prev next ›