Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| services:tubearchivist [2025/04/17 14:12] – willy | services:tubearchivist [2025/06/11 14:58] (current) – [Installation] willy | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Tube Archivist ====== | ====== Tube Archivist ====== | ||
| - | [[https:// | + | [[https:// |
| ==== Installation ==== | ==== Installation ==== | ||
| Line 36: | Line 36: | ||
| - ES_URL=http:// | - ES_URL=http:// | ||
| - REDIS_CON=redis:// | - REDIS_CON=redis:// | ||
| - | - TA_HOST=https:// | + | - TA_HOST=https:// |
| - | - TA_USERNAME=<< first login username >> | + | - TA_USERNAME=initial_user |
| - | - TA_PASSWORD=<< | + | - TA_PASSWORD=<< |
| + | - TA_ENABLE_AUTH_PROXY=true | ||
| + | # Due to DJANGO bug, remove HTTP_ until they fix it: | ||
| + | - TA_AUTH_PROXY_USERNAME_HEADER=REMOTE_USER | ||
| + | #- TA_AUTH_PROXY_USERNAME_HEADER=HTTP_REMOTE_USER | ||
| + | - TA_AUTH_PROXY_LOGOUT_URL=https:// | ||
| - ELASTIC_PASSWORD=<< | - ELASTIC_PASSWORD=<< | ||
| - TZ=Europe/ | - TZ=Europe/ | ||
| + | # Uncomment to enable extra debug: | ||
| + | #- DJANGO_DEBUG=True | ||
| depends_on: | depends_on: | ||
| - archivist-es | - archivist-es | ||
| Line 85: | Line 92: | ||
| </ | </ | ||
| - | I will show also how to setup Authelia SSO authentication | + | This example shows how to use Authelia SSO authentication |
| + | |||
| + | Adding **http:// | ||
| Pull the images: | Pull the images: | ||
| Line 108: | Line 117: | ||
| access_log / | access_log / | ||
| error_log / | error_log / | ||
| - | # include " | + | include " |
| location ^~ / { | location ^~ / { | ||
| - | # include " | + | include " |
| - | # include " | + | |
| proxy_pass http:// | proxy_pass http:// | ||
| - | proxy_set_header X-Forwarded-Protocol $scheme; | ||
| - | proxy_set_header Remote-User $remote_user; | ||
| - | proxy_set_header Host $host; | ||
| - | proxy_http_version 1.1; | ||
| - | proxy_set_header X-Real-IP $remote_addr; | ||
| - | proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; | ||
| - | proxy_set_header Upgrade $http_upgrade; | ||
| - | proxy_set_header Connection $connection_upgrade; | ||
| } | } | ||
| include com.mydomain/ | include com.mydomain/ | ||
| Line 137: | Line 138: | ||
| and create the following config file: | and create the following config file: | ||
| <file - / | <file - / | ||
| - | USER=tubesync | + | USER=tubearchivist |
| DESCRIPTION=" | DESCRIPTION=" | ||
| </ | </ | ||
| Line 146: | Line 147: | ||
| rc-service user-containers.tubearchivist start | rc-service user-containers.tubearchivist start | ||
| </ | </ | ||
| + | |||
| + | ===== Jellyfin Integration ===== | ||
| + | |||
| + | Use [[https:// | ||
| + | |||
| + | In short, open JellyFin go to administration / plugins and add a new repository with the following details: | ||
| + | * Repository name: TubeArchivistMetadata | ||
| + | * Repository URL: https:// | ||
| + | |||
| + | Now navigate to the plugins and install **TubeArchivistMetadata**, | ||
| + | |||
| + | After Jellyfin is running again, go to the plugins page and configure the TubeArchivistMetadata plugin with the following settings: | ||
| + | * Collection name: whatever you like, maybe YouTube | ||
| + | * TubeArchivist URL: http:// | ||
| + | * TubeArchivist API key: can be found inside TubeArchivist, | ||
| + | |||
| + | Now, to **use** the plugin, in Jellyfin go to settings -> libraries and add a new library of type "TV shows" and unselect all sources fo all kinds except TubeArchivist. | ||
| + | |||