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

5 points

Not helping you but for your information: https://github.com/Xyphyn/photon/discussions/142

permalink
report
reply
2 points

Thank you. I’m using docker though.

permalink
report
parent
reply
4 points

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.

permalink
report
reply
1 point

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

permalink
report
parent
reply
1 point

Is everything alright here?

permalink
report
parent
reply
1 point

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

permalink
report
parent
reply

Photon

!photon@lemdro.id

Create post

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 @Xylight@lemdro.id.

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.

Community stats

  • 22

    Monthly active users

  • 64

    Posts

  • 316

    Comments