add readme

This commit is contained in:
2026-02-21 20:00:31 +03:00
parent 3090b18ff9
commit a00a5fbcb9

24
readme.md Normal file
View File

@@ -0,0 +1,24 @@
# oauth2-proxy
## usage
example docker-compose config for raindrop api.
```docker-compose
raindrop-api:
image: git.zatch.ru/tsivinsky/oauth2-proxy:latest
container_name: raindrop-api
restart: unless-stopped
expose:
- 5000
environment:
- AUTH_CONFIG=/config/config.json
- CLIENT_ID={raindrop client_id}
- CLIENT_SECRET={raindrop client_secret}
- REDIRECT_URI={url to this service}/oauth/callback
- API_URL=https://api.raindrop.io/rest/v1
- AUTH_URL=https://raindrop.io/oauth/authorize
- TOKEN_URL=https://raindrop.io/oauth/access_token
volumes:
- ./data/raindrop-api:/config
```