Can somebody tell me how to set it up for my new instance? I couldn’t find any resources that explain in detail.

  • Dave@lemmy.nz
    link
    fedilink
    arrow-up
    1
    ·
    2 months ago

    It’s really going to depend on what you’re trying to do.

    How did you set up your lemmy instance? Did you use the ansible script?

    Which part in particular are you having trouble with?

    One puzzle piece you may be missing is that you’re going to have two different websites (a photon one and a lemmy-ui one) and they will (I’m assuming) both be on the same server. You’ll need a way to direct traffic to the right place, and that way is a reverse proxy. You might reuse the nginx that Lemmy uses, but I find it’s cleaner to leave Lemmy to do it’s thing and set up another reverse proxy (which might be another nginx or it might not). Some other popular ones are nginx proxy manager, caddy, traefik, haproxy.

  • Xylight@lemdro.id
    link
    fedilink
    English
    arrow-up
    1
    ·
    2 months ago

    Are you trying to run it as a separate UI for your instance or do you want to replace lemmy-ui? Are you using docker or ansible?

    • nightfullstar@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      2 months ago

      Actually I was able to make some progress, but not with Photon, not yet.

      In the start, I was a full newbie and didn’t know about how to use Caddy for reverse proxy. I have benchmarked myself trying to get an Alexandrite instance online(alexandrite.lemmy.com.tr). That was successful. Right now, the situation has came down to a 502 error for the Photon, help would be appreciated if I could DM you of the current situation on the bridged network and Caddyfile on matrix.

      I want to finish these up and start to make Turkish translations for all lemmy-ui,alexandrite(finished) and photon.

      • Xylight@lemdro.id
        link
        fedilink
        English
        arrow-up
        2
        ·
        2 months ago

        The error might involve an issue with the docker server youre using.

        Instead of using the default bun image, try the node image:

        ghcr.io/xyphyn/photon:latest-node