add readme
This commit is contained in:
24
readme.md
Normal file
24
readme.md
Normal 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
|
||||||
|
```
|
||||||
Reference in New Issue
Block a user