mirror of
https://github.com/tborychowski/self-hosted-cookbook.git
synced 2025-05-13 02:41:16 +00:00
tube archivist
This commit is contained in:
parent
90e9117895
commit
88e3647c58
@ -232,6 +232,7 @@ The aims is to provide a ready-to-run recipes that you can just copy, paste and
|
|||||||
### Apps for Youtube
|
### Apps for Youtube
|
||||||
- [Invidious](apps/media/invidious.md) - Privacy-focused YT Proxy interface
|
- [Invidious](apps/media/invidious.md) - Privacy-focused YT Proxy interface
|
||||||
- [Metube](apps/media/metube.md) - youtube-dl webUI
|
- [Metube](apps/media/metube.md) - youtube-dl webUI
|
||||||
|
- [TubeArchivist](apps/media/tubearchivist.md) - youtube-dlp - based
|
||||||
- [YoutubeDL-web](apps/media/youtubedl-web.md) - youtube-dl webUI
|
- [YoutubeDL-web](apps/media/youtubedl-web.md) - youtube-dl webUI
|
||||||
- [YoutubeDL-material](apps/media/youtubedl-material.md) - youtube-dl webUI
|
- [YoutubeDL-material](apps/media/youtubedl-material.md) - youtube-dl webUI
|
||||||
|
|
||||||
|
84
apps/media/tubearchivist.md
Normal file
84
apps/media/tubearchivist.md
Normal file
@ -0,0 +1,84 @@
|
|||||||
|
# Metube
|
||||||
|
|
||||||
|
- [Homepage](https://www.tubearchivist.com)
|
||||||
|
- [Github repo](https://github.com/tubearchivist/tubearchivist)
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
|
||||||
|
## Prerequisities
|
||||||
|
|
||||||
|
1. Elastic Search in Docker requires the kernel setting of the host machine vm.max_map_count to be set to at least 262144.
|
||||||
|
```sh
|
||||||
|
# temporarily set the value run:
|
||||||
|
sudo sysctl -w vm.max_map_count=262144
|
||||||
|
```
|
||||||
|
To apply the change permanentlye.g. on Ubuntu Server add: `vm.max_map_count = 262144`
|
||||||
|
to the file `/etc/sysctl.conf`.
|
||||||
|
(more info in the [docs](https://github.com/tubearchivist/tubearchivist#vmmax_map_count)).
|
||||||
|
|
||||||
|
2. Elasticsearch has issues with permissions, so when using bind volume, folder has to be writable by the correct user. If you don't care, just run these:
|
||||||
|
```sh
|
||||||
|
mkdir elasticsearch
|
||||||
|
sudo chmod 777 elasticsearch
|
||||||
|
```
|
||||||
|
|
||||||
|
## docker-compose.yml
|
||||||
|
```yml
|
||||||
|
---
|
||||||
|
services:
|
||||||
|
archivist-es:
|
||||||
|
image: bbilly1/tubearchivist-es
|
||||||
|
container_name: tubearchivist-es
|
||||||
|
restart: unless-stopped
|
||||||
|
ulimits:
|
||||||
|
memlock:
|
||||||
|
soft: -1
|
||||||
|
hard: -1
|
||||||
|
environment:
|
||||||
|
- "ELASTIC_PASSWORD=verysecret"
|
||||||
|
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
|
||||||
|
- "xpack.security.enabled=true"
|
||||||
|
- "discovery.type=single-node"
|
||||||
|
- "path.repo=/usr/share/elasticsearch/data/snapshot"
|
||||||
|
expose:
|
||||||
|
- "9200"
|
||||||
|
volumes:
|
||||||
|
- ./elasticsearch:/usr/share/elasticsearch/data
|
||||||
|
|
||||||
|
|
||||||
|
archivist-redis:
|
||||||
|
image: redislabs/rejson # for arm64 use bbilly1/rejson
|
||||||
|
container_name: tubearchivist-redis
|
||||||
|
restart: unless-stopped
|
||||||
|
depends_on:
|
||||||
|
- archivist-es
|
||||||
|
expose:
|
||||||
|
- "6379"
|
||||||
|
volumes:
|
||||||
|
- ./redis:/data
|
||||||
|
|
||||||
|
|
||||||
|
tubearchivist:
|
||||||
|
image: bbilly1/tubearchivist
|
||||||
|
container_name: tubearchivist
|
||||||
|
restart: unless-stopped
|
||||||
|
depends_on:
|
||||||
|
- archivist-es
|
||||||
|
- archivist-redis
|
||||||
|
environment:
|
||||||
|
- HOST_UID=1000
|
||||||
|
- HOST_GID=1000
|
||||||
|
- TZ=Europe/Dublin
|
||||||
|
- ES_URL=http://archivist-es:9200
|
||||||
|
- ELASTIC_PASSWORD=verysecret
|
||||||
|
- REDIS_HOST=archivist-redis
|
||||||
|
- TA_HOST=192.168.1.123 # server ip, or domain
|
||||||
|
- TA_USERNAME=admin # initial credentials
|
||||||
|
- TA_PASSWORD=admin # initial credentials
|
||||||
|
ports:
|
||||||
|
- 3123:8000
|
||||||
|
volumes:
|
||||||
|
- ./media:/youtube
|
||||||
|
- ./cache:/cache
|
||||||
|
```
|
BIN
apps/media/tubearchivist.png
Normal file
BIN
apps/media/tubearchivist.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 174 KiB |
Loading…
Reference in New Issue
Block a user