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 13:24] – willy | services:tubearchivist [2025/06/11 14:58] (current) – [Installation] willy | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Tube Archivist ====== | ====== Tube Archivist ====== | ||
| - | [[https:// | + | [[https:// |
| ==== Installation ==== | ==== Installation ==== | ||
| Line 22: | Line 22: | ||
| Download the composer file from [[https:// | Download the composer file from [[https:// | ||
| <file - docker-compose.yml> | <file - docker-compose.yml> | ||
| + | version: ' | ||
| + | services: | ||
| + | tubearchivist: | ||
| + | container_name: | ||
| + | image: bbilly1/ | ||
| + | ports: | ||
| + | - 8124:8000 | ||
| + | volumes: | ||
| + | - / | ||
| + | - / | ||
| + | environment: | ||
| + | - ES_URL=http:// | ||
| + | - REDIS_CON=redis:// | ||
| + | - TA_HOST=https:// | ||
| + | - TA_USERNAME=initial_user | ||
| + | - 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=<< | ||
| + | - TZ=Europe/ | ||
| + | # Uncomment to enable extra debug: | ||
| + | #- DJANGO_DEBUG=True | ||
| + | depends_on: | ||
| + | - archivist-es | ||
| + | - archivist-redis | ||
| + | networks: | ||
| + | - tubearchivist-net | ||
| + | archivist-redis: | ||
| + | image: redis | ||
| + | container_name: | ||
| + | restart: unless-stopped | ||
| + | expose: | ||
| + | - " | ||
| + | volumes: | ||
| + | - / | ||
| + | depends_on: | ||
| + | - archivist-es | ||
| + | networks: | ||
| + | - tubearchivist-net | ||
| + | |||
| + | archivist-es: | ||
| + | image: bbilly1/ | ||
| + | container_name: | ||
| + | environment: | ||
| + | - " | ||
| + | - " | ||
| + | - " | ||
| + | - " | ||
| + | - " | ||
| + | ulimits: | ||
| + | memlock: | ||
| + | soft: -1 | ||
| + | hard: -1 | ||
| + | volumes: | ||
| + | - / | ||
| + | expose: | ||
| + | - " | ||
| + | networks: | ||
| + | - tubearchivist-net | ||
| + | |||
| + | networks: | ||
| + | tubearchivist-net: | ||
| + | dns_enabled: | ||
| </ | </ | ||
| - | 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 49: | 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_buffering off; | ||
| } | } | ||
| - | |||
| include com.mydomain/ | include com.mydomain/ | ||
| } | } | ||
| Line 74: | Line 138: | ||
| and create the following config file: | and create the following config file: | ||
| <file - / | <file - / | ||
| - | USER=tubesync | + | USER=tubearchivist |
| DESCRIPTION=" | DESCRIPTION=" | ||
| </ | </ | ||
| Line 83: | 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. | ||
| + | |||