this post was submitted on 09 Oct 2024
8 points (90.0% liked)
Photon
273 readers
1 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
- Posts must be related to Photon in any way
- Don't be mean
- If your post is a bug report, please preface the title with
[solved]
if it's been fixed.
founded 10 months ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
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 (eglemmy:8536
)PUBLIC_SSR_ENABLED
: enable this to allow server rendering which improves SEOPUBLIC_MIGRATE_COOKIE
: this will automatically migrate lemmy-ui logins to photon.Where do I have to set the env variables? On the docker compose file similar to lemmy-ui?
Is everything alright here?
Getting error 502. Not sure what I'm doing wrong.
502 from photon itself or nginx? I think you need to change
photon
at the top tolemmy-ui
This is what I have in the log:
From nginx. I've commented out lemmy-ui before running the compose file.