this post was submitted on 15 Oct 2024
15 points (94.1% liked)

techsupport

2466 readers
32 users here now

The Lemmy community will help you with your tech problems and questions about anything here. Do not be shy, we will try to help you.

If something works or if you find a solution to your problem let us know it will be greatly apreciated.

Rules: instance rules + stay on topic

Partnered communities:

You Should Know

Reddit

Software gore

Recommendations

founded 1 year ago
MODERATORS
 

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

top 5 comments
sorted by: hot top controversial new old
[–] zelifcam@lemmy.world 2 points 4 weeks ago* (last edited 4 weeks ago)

Link to photon UI?

Edit: Are you taking about this one?

https://github.com/Xyphyn/photon

[–] Dave@lemmy.nz 1 points 4 weeks 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 0 points 4 weeks ago (1 children)

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.world 1 points 3 weeks ago (1 children)

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 2 points 3 weeks 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