README: Describe the static binaries (#141)

Static binaries are now attached since release 0.4.0, so use them in the release as well
This commit is contained in:
Christoph Settgast
2025-12-17 23:55:04 +01:00
committed by GitHub
parent 92758ce5d6
commit 9231494e06

View File

@@ -97,27 +97,19 @@ Releases are available
docker run -e LIVEKIT_URL="ws://somewhere" -e LIVEKIT_KEY=devkey -e LIVEKIT_SECRET=secret -e LIVEKIT_FULL_ACCESS_HOMESERVERS=example.com -p 8080:8080 ghcr.io/element-hq/lk-jwt-service:0.3.0 docker run -e LIVEKIT_URL="ws://somewhere" -e LIVEKIT_KEY=devkey -e LIVEKIT_SECRET=secret -e LIVEKIT_FULL_ACCESS_HOMESERVERS=example.com -p 8080:8080 ghcr.io/element-hq/lk-jwt-service:0.3.0
``` ```
### 📦 From Release File ### 📦 From Release
1. Download & extract: 1. Download & mark as executable (example is amd64, replace with arm64 if needed):
```shell ```shell
wget https://github.com/element-hq/lk-jwt-service/archive/refs/tags/v0.3.0.tar.gz wget https://github.com/element-hq/lk-jwt-service/releases/latest/download/lk-jwt-service_linux_amd64
tar -xvf v0.3.0.tar.gz chmod +x lk-jwt-service_linux_amd64
mv lk-jwt-service-0.3.0 lk-jwt-service
```
2. Build:
```shell
cd lk-jwt-service
go build -o lk-jwt-service .
``` ```
3. Run locally: 3. Run locally:
```shell ```shell
LIVEKIT_URL="ws://somewhere" LIVEKIT_KEY=devkey LIVEKIT_SECRET=secret LIVEKIT_FULL_ACCESS_HOMESERVERS=example.com ./lk-jwt-service LIVEKIT_URL="ws://somewhere" LIVEKIT_KEY=devkey LIVEKIT_SECRET=secret LIVEKIT_FULL_ACCESS_HOMESERVERS=example.com ./lk-jwt-service_linux_amd64
``` ```
## ⚙️ Configuration ## ⚙️ Configuration