Files
truecharts/charts/stable/invidious/values.yaml
T
Stavros KoisandGitHub 6bfe0d7df4 fix(invidious): automatically create hmac key (#16523)
**Description**
<!--
Please include a summary of the change and which issue is fixed. Please
also include relevant motivation and context. List any dependencies that
are required for this change.
-->
⚒️ Fixes  #16366

**⚙️ Type of change**

- [ ] ⚙️ Feature/App addition
- [ ] 🪛 Bugfix
- [ ] ⚠️ Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [ ] 🔃 Refactor of current code

**🧪 How Has This Been Tested?**
<!--
Please describe the tests that you ran to verify your changes. Provide
instructions so we can reproduce. Please also list any relevant details
for your test configuration
-->

**📃 Notes:**
<!-- Please enter any other relevant information here -->

**✔️ Checklist:**

- [ ] ⚖️ My code follows the style guidelines of this project
- [ ] 👀 I have performed a self-review of my own code
- [ ] #️⃣ I have commented my code, particularly in hard-to-understand
areas
- [ ] 📄 I have made corresponding changes to the documentation
- [ ] ⚠️ My changes generate no new warnings
- [ ] 🧪 I have added tests to this description that prove my fix is
effective or that my feature works
- [ ] ⬆️ I increased versions for any altered app according to semantic
versioning

** App addition**

If this PR is an app addition please make sure you have done the
following.

- [ ] 🪞 I have opened a PR on
[truecharts/containers](https://github.com/truecharts/containers) adding
the container to TrueCharts mirror repo.
- [ ] 🖼️ I have added an icon in the Chart's root directory called
`icon.png`

---

_Please don't blindly check all the boxes. Read them and only check
those that apply.
Those checkboxes are there for the reviewer to see what is this all
about and
the status of this PR with a quick glance._

---------

Signed-off-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com>
2023-12-25 13:52:00 +01:00

164 lines
3.9 KiB
YAML

image:
repository: quay.io/invidious/invidious
pullPolicy: IfNotPresent
tag: latest@sha256:1ecee589b339adf85995eca1a262436dd79d7d27314e7f9e3ab9386147893d1e
securityContext:
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
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
# Move config into docker dir
echo "Preparing directory structure..."
mv -fv config docker
echo "Performing the seed..."
cd docker
./init-invidious-db.sh
containers:
main:
probes:
liveness:
type: http
readiness:
type: http
startup:
type: http
envFrom:
- secretRef:
name: invidious-secret
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: []
enable_user_notifications: true
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
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
speed: 1.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
cnpg:
main:
enabled: true
database: invidious
# DB User cannot be changed
# hardcoded from upstream
user: kemal
portal:
open:
enabled: true