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.
I need to add language settings to communities and profiles. I really dislike how lemmy handles this though.
If you change it in lemmy-ui, it will propagate to Photon because it’s an account wide setting.