Preparing for 1.0/public release
- Adds initial README - Adds MPL 2.0 License - Cleans up old files
This commit is contained in:
parent
23371e7fee
commit
46f894ff46
4 changed files with 138 additions and 157 deletions
58
README.md
Normal file
58
README.md
Normal file
|
|
@ -0,0 +1,58 @@
|
|||
# VRCAuthProxy
|
||||
#### A VRChat API Authorization Proxy Service
|
||||
|
||||
This Authorization Proxy service are for those who consume the VRChat API in a multi-application / microservice architecture. Configure the Proxy with the credentials for an account you use to make API calls, then point your API clients to the Proxy service instead of the VRChat API.
|
||||
|
||||
## Build Steps
|
||||
C# Binary Builds
|
||||
`RUN dotnet build "VRCAuthProxy.csproj" -c $BUILD_CONFIGURATION -o /app/build`
|
||||
|
||||
Docker Service Build
|
||||
`docker build -t pridevr/vrcauthproxy .`
|
||||
|
||||
## Production Image
|
||||
Docker Hub
|
||||
```
|
||||
docker pull pridevr/vrcauthproxy:1
|
||||
```
|
||||
|
||||
## Configuring
|
||||
appsettings.json
|
||||
```
|
||||
{
|
||||
"accounts": [
|
||||
{
|
||||
"username": "username",
|
||||
"password": "password",
|
||||
"totpSecret": "totp secret" // code given to you during 2FA/MFA setup process
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
## Running
|
||||
docker run
|
||||
`docker run ?`
|
||||
|
||||
docker compose
|
||||
```
|
||||
services:
|
||||
authproxy:
|
||||
image: ghcr.io/pridevrinc/vrcauthproxy:latest
|
||||
networks:
|
||||
- authproxy
|
||||
volumes:
|
||||
- "./authproxy.json:/app/appsettings.json"
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "curl -f http://localhost:8080/ || exit 1"]
|
||||
interval: 30s
|
||||
retries: 5
|
||||
timeout: 10s
|
||||
```
|
||||
|
||||
## LICENSE
|
||||
MPL-2.0
|
||||
|
||||
|
||||
© 2025 [PrideVR, INC](https://pridevr.org)
|
||||
A VR Pride Organization
|
||||
Loading…
Add table
Add a link
Reference in a new issue