Merge pull request #13 from psyko-gh/issue-12

docs: fix #12 - improve documentation about apiUrl
This commit is contained in:
psyko-gh
2024-08-26 18:14:15 +02:00
committed by GitHub
2 changed files with 22 additions and 9 deletions

View File

@@ -1,12 +1,14 @@
config:
overseerr:
apiUrl: xxx
user: xxx
password: xxx
apiUrl: http://localhost:5056/api/v1
# Read these 2 values from environment variables
user: '{{ OVERSEERR_USER }}'
password: '{{ OVERSEERR_PASSWORD }}'
dryRun: true
plex:
apiUrl: xxx
plexToken: xxx
# Only required when using Smart recommendations job
apiUrl: http://localhost:32400/
plexToken: '{{ PLEX_TOKEN }}'
discovery:
cron: '? 30 3 * * *'
streams:
@@ -14,6 +16,7 @@ config:
- popular
- trending
ruleset: Default ruleset
# Smart recommendations is an experimental feature
smartRecommendations:
cron: '? 1 14 * * *'
plexLibrary: Films

View File

@@ -25,13 +25,19 @@ Once the user is created, you can fill these value in Overcrawlrr `settings.yaml
```yaml title="settings.yaml"
config:
overseerr:
apiUrl: xxx # required
# required
apiUrl: http://localhost:5056/api/v1
user: xxx # required
password: xxx # required
dryRun: true # Optional - dryRun will not send requests to Overseerr
# Optional - dryRun will not send requests to Overseerr
# allowing you to test your rules
dryRun: true
```
!!! note
The api URL should ends with `/api/v1`. Replace `http://localhost:5056` with your Overseerr URL
---
### Plex authentication
@@ -46,7 +52,7 @@ To read data from your Plex library, you have to specify your Plex URL and token
config:
# Only required when using Smart recommendations job
plex:
apiUrl: xxx
apiUrl: http://localhost:32400/
plexToken: xxx
```
@@ -59,9 +65,12 @@ You can refer to environment variables using the `{{ key }}` syntax.
```yaml title="settings.yaml"
config:
overseerr:
apiUrl: xxx
apiUrl: http://localhost:5056/api/v1
user: '{{ OVERSEERR_USER }}'
password: '{{ OVERSEERR_PASSWORD }}'
plex:
apiUrl: http://localhost:32400/
plexToken: '{{ PLEX_TOKEN }}'
```
These variables can be defined in the `docker-compose.yaml`
@@ -73,6 +82,7 @@ services:
environment:
- OVERSEERR_USER=
- OVERSEERR_PASSWORD=
- PLEX_TOKEN=
```
---