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

techsupport

2439 readers
37 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 3 comments
sorted by: hot top controversial new old
[–] [email protected] 1 points 1 day 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?

[–] [email protected] 1 points 1 day 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.

[–] zelifcam 2 points 1 day ago* (last edited 1 day ago)

Link to photon UI?

Edit: Are you taking about this one?

https://github.com/Xyphyn/photon