feat: add docker documentation
This commit is contained in:
1 parent
8ed3ca4ff7
commit
cbd19c702d
1 file changed
+20
-1
@@ -1,3 +1,22 @@
|
|||||||
# lemmy-svelte
|
# Photon
|
||||||
|
|
||||||
An alternative web client for Lemmy with the UI of Xylo
|
An alternative web client for Lemmy with the UI of Xylo
|
||||||
|
|
||||||
|
## Run on your own server
|
||||||
|
|
||||||
|
Clone the repo:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
git clone https://github.com/Xyphyn/photon && cd photon
|
||||||
|
```
|
||||||
|
|
||||||
|
and run the docker container:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
docker build -t photon .
|
||||||
|
|
||||||
|
# Use the env var PUBLIC_INSTANCE_URL to set the default instance URL.
|
||||||
|
docker run -p 8080:3000 -it photon:latest
|
||||||
|
```
|
||||||
|
|
||||||
|
There you go, you now have an instance of Photon running.
|
||||||
Reference in new issue
Block a user