Hi,

I want to replace lemmy-ui with photon. How can I actually do this? Do I need to just install it using docker and reverse proxy to the port? Is there any docker compose method? Where can I set the environment variables?

TIA

  • Mitex LeoOPA
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 month ago

    Where do I have to set the env variables? On the docker compose file similar to lemmy-ui?

      • Mitex LeoOPA
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 month ago

        Getting error 502. Not sure what I’m doing wrong.

        • Xylight@lemdro.idM
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 month ago

          502 from photon itself or nginx? I think you need to change photon at the top to lemmy-ui

          • Mitex LeoOPA
            link
            fedilink
            English
            arrow-up
            1
            ·
            1 month ago

            From nginx. I’ve commented out lemmy-ui before running the compose file.

          • Mitex LeoOPA
            link
            fedilink
            English
            arrow-up
            1
            ·
            1 month ago

            This is what I have in the log:

            2024/10/13 01:30:29 [error] 3854559#3854559: *1291647 connect() failed (111: Connection refused) while connecting to upstream, client: 18.118.255.176, server: buddyverse.one, request: "GET /post/4126/15889 HTTP/2.0", upstream: "http://0.0.0.0:10633/post/4126/15889", host: "buddyverse.one"
            2024/10/13 01:30:34 [error] 3854559#3854559: *1291662 connect() failed (111: Connection refused) while connecting to upstream, client: 159.69.54.68, server: buddyverse.one, request: "POST /inbox HTTP/1.1", upstream: "http://0.0.0.0:10633/inbox", host: "buddyverse.one"                                          2024/10/13 01:30:34 [error] 3854559#3854559: *1291664 connect(
            ) failed (111: Connection refused) while connecting to upstream, client: 3.133.133.233, server: buddyverse.one, request: "GET /post/2893/14546 HTTP/2.0", upstream: "http://0.0.0.0:10633/post/2893/14546", host: "buddyverse.one"                      2024/10/13 01:30:35 [error] 3854559#3854559: *1291668 connect() failed (111: Connection refused) while connecting to upstream, client: 159.69.49.255, server: buddyverse.one, request: "POST /inbox HTTP/1.1", upstream: "http://0.0.0.0:10633/inbox", host: "buddyverse.one"