Updated syncious docs to api extended

This commit is contained in:
WardPearce
2024-05-10 14:27:08 +12:00
parent 564fceb49c
commit 877b506304
3 changed files with 11 additions and 11 deletions
+1 -1
View File
@@ -100,7 +100,7 @@ body:
options:
- label: "RYD-Proxy"
required: false
- label: "Syncious integration"
- label: "Invidious API extended integration"
required: false
- label: "Self-hosted PeerJS"
required: false
+1 -1
View File
@@ -15,7 +15,7 @@
[Help translate Materialious!](https://fink.inlang.com/github.com/WardPearce/Materialious)
# Features
- [Syncios integration!](https://github.com/WardPearce/syncious)
- [Invidious API extended integration!](https://github.com/Materialious/api-extended)
- Sync your watch progress between Invidious sessions.
- Watch sync parties!
- Mini player.
+9 -9
View File
@@ -266,27 +266,27 @@ http:
### Step 3:
Modify/add `VITE_DEFAULT_RETURNYTDISLIKES_INSTANCE` for Materialious to be the reverse proxied URL of RYD-Proxy.
## Step 5 (Optional, but recommended): Self-host Syncios
Sync your watch progress between Invidious sessions.
## Step 5 (Optional, but recommended): Self-host Invidious API extended
Please note, Materialious configuration using the env var `VITE_DEFAULT_SYNCIOUS_INSTANCE` for Invidious API extended, this will change in the future (no-breaking.)
### Step 1: Docker compose
Add the following to your docker compose
```yaml
services:
syncious:
image: wardpearce/syncious:latest
api_extended:
image: wardpearce/invidious_api_extended:latest
restart: unless-stopped
ports:
- 3004:80
environment:
syncious_postgre: '{"host": "invidious-db", "port": 5432, "database": "invidious", "user": "kemal", "password": "kemal"}'
syncious_allowed_origins: '["https://materialios.example.com"]'
syncious_debug: false
api_extended_postgre: '{"host": "invidious-db", "port": 5432, "database": "invidious", "user": "kemal", "password": "kemal"}'
api_extended_allowed_origins: '["https://materialios.example.com"]'
api_extended_debug: false
# No trailing backslashes!
syncious_invidious_instance: "https://invidious.example.com"
syncious_production_instance: "https://syncious.example.com"
api_extended_invidious_instance: "https://invidious.example.com"
api_extended_production_instance: "https://syncious.example.com"
```
Add these additional environment variables to Materialious.