Invidious api just for api dash manifest and latest_version
.
Environment variables are used to configure the application.
Variable | Default | Description |
---|---|---|
DNS_ORDER |
verbatim |
DNS order for lookups. Other possible value: ipv4first |
HOST_PROXY |
undefined |
Host proxy |
KEYV_MAX_SIZE |
5000 |
Keyv max size |
KEYV_ADDRESS |
undefined |
Keyv address, In-memory if not defined |
BIND_PORT |
3000 |
Port |
BIND_ADDRESS |
0.0.0.0 |
Address |
HMAC_KEY |
undefined |
HMAC key from invidious config.yml |
Set environment variables as needed.
docker run -d \
-e HOST_PROXY=invidious.io \
-e HMAC_KEY=00000000000000000000 \
-p 3000:3000 \
--name invidious-stripped-down \
quay.io/unixfox/invidious-stripped-down
HOST_PROXY=invidious.io HMAC_KEY=00000000000000000000 node index.js
Set the following locations to be passed to this application.
~* ^/api/manifest/hls_playlist/
~* ^/api/manifest/hls_variant/
~* ^/api/manifest/dash/id/
/latest_version
location ~* ^/api/manifest/hls_playlist/ {
proxy_pass http://invidious-stripped-down:3000;
}
location ~* ^/api/manifest/hls_variant/ {
proxy_pass http://invidious-stripped-down:3000;
}
location ~* ^/api/manifest/dash/id/ {
proxy_pass http://invidious-stripped-down:3000;
}
location /latest_version {
proxy_pass http://invidious-stripped-down:3000;
}