2022-12-25 04:13:11 -05:00
|
|
|
image:
|
|
|
|
repository: tccr.io/truecharts/invidious
|
|
|
|
pullPolicy: IfNotPresent
|
2023-06-22 18:42:49 -04:00
|
|
|
tag: latest@sha256:92ede4ab8c1d839b54991bc8264014866e8a8f1d97767532024e1eabe7c06c8e
|
2022-12-25 04:13:11 -05:00
|
|
|
|
|
|
|
securityContext:
|
2023-06-01 16:51:19 -04:00
|
|
|
container:
|
|
|
|
readOnlyRootFilesystem: false
|
|
|
|
runAsNonRoot: false
|
|
|
|
runAsGroup: 0
|
|
|
|
runAsUser: 0
|
|
|
|
|
|
|
|
service:
|
|
|
|
main:
|
|
|
|
ports:
|
|
|
|
main:
|
|
|
|
port: 10594
|
|
|
|
protocol: http
|
|
|
|
|
|
|
|
workload:
|
|
|
|
main:
|
|
|
|
podSpec:
|
|
|
|
initContainers:
|
|
|
|
dbseed:
|
|
|
|
type: install
|
|
|
|
enabled: true
|
|
|
|
imageSelector: postgresClientImage
|
|
|
|
env:
|
|
|
|
POSTGRES_DB:
|
|
|
|
secretKeyRef:
|
|
|
|
name: cnpg-main-urls
|
|
|
|
key: std
|
|
|
|
POSTGRES_USER: "{{ .Values.cnpg.main.user }}"
|
|
|
|
# PG* variables are for the psql client
|
|
|
|
PGPORT: "5432"
|
|
|
|
PGPASSWORD:
|
|
|
|
secretKeyRef:
|
|
|
|
name: cnpg-main-user
|
|
|
|
key: password
|
|
|
|
command: ["sh", "-c"]
|
|
|
|
args:
|
|
|
|
- |
|
|
|
|
echo "Starting DB Seed..."
|
|
|
|
mkdir -p invidious && cd invidious
|
2023-06-03 14:48:05 -04:00
|
|
|
|
2023-06-01 16:51:19 -04:00
|
|
|
echo "Fetching seed files..."
|
|
|
|
git init && \
|
|
|
|
git remote add invidious https://github.com/iv-org/invidious.git && \
|
|
|
|
git fetch invidious && \
|
|
|
|
# Fetch config and docker dirs
|
|
|
|
git checkout invidious/master -- docker config
|
2023-06-03 14:48:05 -04:00
|
|
|
|
2023-06-01 16:51:19 -04:00
|
|
|
# Move config into docker dir
|
|
|
|
echo "Preparing directory structure..."
|
|
|
|
mv -fv config docker
|
2023-06-03 14:48:05 -04:00
|
|
|
|
2023-06-01 16:51:19 -04:00
|
|
|
echo "Performing the seed..."
|
|
|
|
cd docker
|
|
|
|
./init-invidious-db.sh
|
|
|
|
containers:
|
|
|
|
main:
|
|
|
|
probes:
|
|
|
|
liveness:
|
|
|
|
type: http
|
|
|
|
readiness:
|
|
|
|
type: http
|
|
|
|
startup:
|
|
|
|
type: http
|
|
|
|
envFrom:
|
|
|
|
- configMapRef:
|
|
|
|
name: invidious-config
|
2022-12-25 04:13:11 -05:00
|
|
|
|
|
|
|
invidious:
|
|
|
|
network:
|
|
|
|
inbound:
|
|
|
|
external_port: 10594
|
|
|
|
https_only: false
|
|
|
|
domain: ""
|
|
|
|
hsts: true
|
|
|
|
outbound:
|
|
|
|
disable_proxy: false
|
|
|
|
pool_size: 100
|
|
|
|
use_quic: false
|
|
|
|
cookies: []
|
|
|
|
force_resolve: "ipv4"
|
|
|
|
|
|
|
|
logging:
|
|
|
|
output: STDOUT
|
|
|
|
log_level: "Info"
|
|
|
|
|
|
|
|
features:
|
|
|
|
popular_enabled: true
|
|
|
|
statistics_enabled: false
|
|
|
|
|
|
|
|
users_accounts:
|
|
|
|
registration_enabled: true
|
|
|
|
login_enabled: true
|
|
|
|
captcha_enabled: true
|
|
|
|
admins: []
|
|
|
|
|
|
|
|
background_jobs:
|
|
|
|
channel_threads: 1
|
|
|
|
channel_refresh_interval: 30m
|
|
|
|
full_refresh: false
|
|
|
|
feed_threads: 1
|
|
|
|
decrypt_polling: false
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
clear_expired_items:
|
|
|
|
enable: true
|
|
|
|
refresh_channels:
|
|
|
|
enable: true
|
|
|
|
refresh_feeds:
|
|
|
|
enable: true
|
|
|
|
|
|
|
|
captcha:
|
|
|
|
captcha_api_url: "https://api.anti-captcha.com"
|
|
|
|
captcha_key: ""
|
|
|
|
|
|
|
|
miscellaneous:
|
|
|
|
banner: ""
|
|
|
|
use_pubsub_feeds: false
|
|
|
|
hmac_key: ""
|
|
|
|
dmca_content: []
|
|
|
|
cache_annotations: false
|
|
|
|
playlist_length_limit: 500
|
|
|
|
|
|
|
|
default_user_preferences:
|
|
|
|
internationalization:
|
|
|
|
locale: en-US
|
|
|
|
region: US
|
|
|
|
captions: []
|
|
|
|
interface:
|
|
|
|
dark_mode: dark
|
|
|
|
thin_mode: false
|
|
|
|
feed_menu: []
|
|
|
|
default_home: Popular
|
|
|
|
max_results: 40
|
|
|
|
annotations: false
|
|
|
|
annotations_subscribed: false
|
|
|
|
comments: []
|
|
|
|
player_style: invidious
|
|
|
|
related_videos: true
|
|
|
|
video_player_behavior:
|
|
|
|
autoplay: false
|
|
|
|
continue: false
|
|
|
|
continue_autoplay: true
|
|
|
|
listen: false
|
|
|
|
video_loop: false
|
|
|
|
video_playback_settings:
|
|
|
|
quality: hd720
|
|
|
|
quality_dash: auto
|
2022-12-25 09:11:37 -05:00
|
|
|
speed: 1.00
|
2022-12-25 04:13:11 -05:00
|
|
|
volume: 100
|
|
|
|
vr_mode: true
|
|
|
|
subscription_feed:
|
|
|
|
latest_only: false
|
|
|
|
notifications_only: false
|
|
|
|
unseen_only: false
|
|
|
|
sort: published
|
|
|
|
miscellaneous:
|
|
|
|
local: false
|
|
|
|
show_nick: true
|
|
|
|
automatic_instance_redirect: false
|
|
|
|
extend_desc: false
|
|
|
|
|
2023-06-01 16:51:19 -04:00
|
|
|
cnpg:
|
2022-12-25 04:13:11 -05:00
|
|
|
main:
|
2023-06-01 16:51:19 -04:00
|
|
|
enabled: true
|
|
|
|
database: invidious
|
|
|
|
# DB User cannot be changed
|
|
|
|
# hardcoded from upstream
|
2023-06-03 14:48:05 -04:00
|
|
|
user: kemal
|
2022-12-25 04:13:11 -05:00
|
|
|
|
|
|
|
portal:
|
2023-06-01 16:51:19 -04:00
|
|
|
open:
|
|
|
|
enabled: true
|