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

  • Xylight (Photon Dev)@lemm.eeM
    link
    fedilink
    English
    arrow-up
    2
    ·
    8 小时前

    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.