From 23eec11ca9462fd7f949d68bc9bb8a9a508fa857 Mon Sep 17 00:00:00 2001 From: Xyphyn Date: Tue, 25 Jul 2023 11:54:39 -0700 Subject: [PATCH] feat: Add better hosting guide --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index 26d9f5ce..417b6744 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,17 @@ An alternative web client for Lemmy with the UI of Xylo ## Run on your own server +### Running from image + +```sh +# Use the env var PUBLIC_INSTANCE_URL to set the default instance URL. +docker run -p 8080:3000 -e PUBLIC_INSTANCE_URL=example.com ghcr.io/xyphyn/photon:v0.2.1-hotfix +``` + +### Running from repo + +**More unstable but latest features** + Clone the repo: ```sh