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: config:
overseerr: overseerr:
apiUrl: xxx apiUrl: http://localhost:5056/api/v1
user: xxx # Read these 2 values from environment variables
password: xxx user: '{{ OVERSEERR_USER }}'
password: '{{ OVERSEERR_PASSWORD }}'
dryRun: true dryRun: true
plex: plex:
apiUrl: xxx # Only required when using Smart recommendations job
plexToken: xxx apiUrl: http://localhost:32400/
plexToken: '{{ PLEX_TOKEN }}'
discovery: discovery:
cron: '? 30 3 * * *' cron: '? 30 3 * * *'
streams: streams:
@@ -14,6 +16,7 @@ config:
- popular - popular
- trending - trending
ruleset: Default ruleset ruleset: Default ruleset
# Smart recommendations is an experimental feature
smartRecommendations: smartRecommendations:
cron: '? 1 14 * * *' cron: '? 1 14 * * *'
plexLibrary: Films 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" ```yaml title="settings.yaml"
config: config:
overseerr: overseerr:
apiUrl: xxx # required # required
apiUrl: http://localhost:5056/api/v1
user: xxx # required user: xxx # required
password: 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 # 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 ### Plex authentication
@@ -46,7 +52,7 @@ To read data from your Plex library, you have to specify your Plex URL and token
config: config:
# Only required when using Smart recommendations job # Only required when using Smart recommendations job
plex: plex:
apiUrl: xxx apiUrl: http://localhost:32400/
plexToken: xxx plexToken: xxx
``` ```
@@ -59,9 +65,12 @@ You can refer to environment variables using the `{{ key }}` syntax.
```yaml title="settings.yaml" ```yaml title="settings.yaml"
config: config:
overseerr: overseerr:
apiUrl: xxx apiUrl: http://localhost:5056/api/v1
user: '{{ OVERSEERR_USER }}' user: '{{ OVERSEERR_USER }}'
password: '{{ OVERSEERR_PASSWORD }}' password: '{{ OVERSEERR_PASSWORD }}'
plex:
apiUrl: http://localhost:32400/
plexToken: '{{ PLEX_TOKEN }}'
``` ```
These variables can be defined in the `docker-compose.yaml` These variables can be defined in the `docker-compose.yaml`
@@ -73,6 +82,7 @@ services:
environment: environment:
- OVERSEERR_USER= - OVERSEERR_USER=
- OVERSEERR_PASSWORD= - OVERSEERR_PASSWORD=
- PLEX_TOKEN=
``` ```
--- ---