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.