this post was submitted on 09 Oct 2024
9 points (100.0% liked)

Photon

258 readers
8 users here now

Photon for Lemmy

A client for the fediverse designed to be intuitive, fast, and beautiful.

Share your themes, ask questions, report bugs, or check on the latest updates here!

You can contact the dev at @[email protected].

Rules

  1. Posts must be related to Photon in any way
  2. Don't be mean
  3. If your post is a bug report, please preface the title with [solved] if it's been fixed.

founded 9 months ago
MODERATORS
9
Replace lemmy-ui (buddyverse.one)
submitted 3 days ago* (last edited 3 days ago) by [email protected] to c/[email protected]
 

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

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 4 points 2 days ago (1 children)

You should be able to just replace the lemmy-ui image with the photon image, but you'll need to set a few env variables

PUBLIC_INSTANCE_URL: the domain your Lemmy instance is accessed from. (like lemmy.world)

PUBLIC_INTERNAL_INSTANCE: the url and port for the internal server to access (eg lemmy:8536)

PUBLIC_SSR_ENABLED: enable this to allow server rendering which improves SEO

PUBLIC_MIGRATE_COOKIE: this will automatically migrate lemmy-ui logins to photon.

[–] [email protected] 1 points 2 days ago (1 children)

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

[–] [email protected] 1 points 2 days ago (1 children)
[–] [email protected] 1 points 2 days ago

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