Add arm64 support to viewtube. (#1379)
* Add arm64 support. * Update config.json
This commit is contained in:
parent
d712944e2b
commit
53f4460bab
|
@ -5,7 +5,7 @@
|
|||
"available": true,
|
||||
"exposable": true,
|
||||
"id": "viewtube",
|
||||
"tipi_version": 1,
|
||||
"tipi_version": 2,
|
||||
"version": "0.12.2",
|
||||
"categories": ["media"],
|
||||
"description": "The open source, privacy-conscious way to enjoy your favorite YouTube content.",
|
||||
|
|
66
apps/viewtube/docker-compose.arm64.yml
Normal file
66
apps/viewtube/docker-compose.arm64.yml
Normal file
|
@ -0,0 +1,66 @@
|
|||
version: '3'
|
||||
|
||||
services:
|
||||
viewtube:
|
||||
restart: unless-stopped
|
||||
container_name: viewtube
|
||||
image: mauriceo/viewtube:0.12.2
|
||||
depends_on:
|
||||
- viewtube-mongodb
|
||||
- viewtube-redis
|
||||
volumes:
|
||||
- ${APP_DATA_DIR}/data/viewtube:/data
|
||||
environment:
|
||||
- VIEWTUBE_DATABASE_HOST=viewtube-mongodb
|
||||
- VIEWTUBE_REDIS_HOST=viewtube-redis
|
||||
- VIEWTUBE_SECURE=true
|
||||
- VIEWTUBE_CORS_ORIGIN=${APP_PROTOCOL:-http}://${APP_DOMAIN}
|
||||
# - VIEWTUBE_YOUTUBE_COOKIE=
|
||||
# - VIEWTUBE_YOUTUBE_IDENTIFIER=
|
||||
ports:
|
||||
- ${APP_PORT}:8066
|
||||
networks:
|
||||
- tipi_main_network
|
||||
labels:
|
||||
# Main
|
||||
traefik.enable: true
|
||||
traefik.http.middlewares.viewtube-web-redirect.redirectscheme.scheme: https
|
||||
traefik.http.services.viewtube.loadbalancer.server.port: 8066
|
||||
# Web
|
||||
traefik.http.routers.viewtube-insecure.rule: Host(`${APP_DOMAIN}`)
|
||||
traefik.http.routers.viewtube-insecure.entrypoints: web
|
||||
traefik.http.routers.viewtube-insecure.service: viewtube
|
||||
traefik.http.routers.viewtube-insecure.middlewares: viewtube-web-redirect
|
||||
# Websecure
|
||||
traefik.http.routers.viewtube.rule: Host(`${APP_DOMAIN}`)
|
||||
traefik.http.routers.viewtube.entrypoints: websecure
|
||||
traefik.http.routers.viewtube.service: viewtube
|
||||
traefik.http.routers.viewtube.tls.certresolver: myresolver
|
||||
# Local domain
|
||||
traefik.http.routers.viewtube-local-insecure.rule: Host(`viewtube.${LOCAL_DOMAIN}`)
|
||||
traefik.http.routers.viewtube-local-insecure.entrypoints: web
|
||||
traefik.http.routers.viewtube-local-insecure.service: viewtube
|
||||
traefik.http.routers.viewtube-local-insecure.middlewares: viewtube-web-redirect
|
||||
# Local domain secure
|
||||
traefik.http.routers.viewtube-local.rule: Host(`viewtube.${LOCAL_DOMAIN}`)
|
||||
traefik.http.routers.viewtube-local.entrypoints: websecure
|
||||
traefik.http.routers.viewtube-local.service: viewtube
|
||||
traefik.http.routers.viewtube-local.tls: true
|
||||
|
||||
viewtube-mongodb:
|
||||
container_name: viewtube-mongodb
|
||||
restart: unless-stopped
|
||||
image: mongo:4.4.18
|
||||
networks:
|
||||
- tipi_main_network
|
||||
volumes:
|
||||
- ${APP_DATA_DIR}/data/db:/data/db
|
||||
|
||||
viewtube-redis:
|
||||
container_name: viewtube-redis
|
||||
restart: unless-stopped
|
||||
image: redis:7
|
||||
networks:
|
||||
- tipi_main_network
|
||||
volumes:
|
||||
- ${APP_DATA_DIR}/data/redis:/data
|
|
@ -2,6 +2,8 @@ ViewTube is an alternative YouTube frontend that lets you watch, search and disc
|
|||
|
||||
You can find the documentation at [viewtube.wiki](https://viewtube.wiki)
|
||||
|
||||
**Warning! MongoDB version 4.4.18 will be used for arm64 devices like the raspberry pi!**
|
||||
|
||||
## Features
|
||||
|
||||
- Watch videos without ads or tracking
|
||||
|
|
|
@ -1,37 +0,0 @@
|
|||
## (Optional) Use cookies from a real account
|
||||
|
||||
You can provide your own cookies to circumvent any Rate Limiting Issue.
|
||||
|
||||
### YouTube cookie
|
||||
|
||||
- Navigate to YouTube in a web browser
|
||||
- Log in, preferrably with a separate account you don't use often
|
||||
- Open up the dev tools console
|
||||
- Type `document.cookie`
|
||||
- Copy the entire response into the `VIEWTUBE_YOUTUBE_COOKIE` environment variable
|
||||
|
||||
### YouTube identifier
|
||||
|
||||
- Navigate to a video
|
||||
- Right click and click "view source"
|
||||
- Press CTRL+F to search for "ID\_TOKEN"
|
||||
- Copy this value into the `VIEWTUBE_YOUTUBE_IDENTIFIER` environment variable
|
||||
|
||||
```
|
||||
"form_fields": [
|
||||
{
|
||||
"type": "text",
|
||||
"label": "Youtube Cookie",
|
||||
"hint": "Optional, Read below",
|
||||
"required": false,
|
||||
"env_variable": "VIEWTUBE_YOUTUBE_COOKIE"
|
||||
},
|
||||
{
|
||||
"type": "text",
|
||||
"label": "Youtube Identifier",
|
||||
"hint": "Optional, Read below",
|
||||
"required": false,
|
||||
"env_variable": "VIEWTUBE_YOUTUBE_IDENTIFIER"
|
||||
}
|
||||
]
|
||||
```
|
Loading…
Reference in New Issue
Block a user