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 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.
Where do I have to set the env variables? On the docker compose file similar to lemmy-ui?
Not helping you but for your information: https://github.com/Xyphyn/photon/discussions/142