Skip to content

Commit 65891c4

Browse files
committed
-
1 parent dd16ec5 commit 65891c4

10 files changed

Lines changed: 32 additions & 1297 deletions

File tree

‎ct/rauthy.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ APP="Rauthy"
1111
var_tags="${var_tags:-auth;sso;oidc}"
1212
var_cpu="${var_cpu:-4}"
1313
var_ram="${var_ram:-4096}"
14-
var_disk="${var_disk:-10}"
14+
var_disk="${var_disk:-12}"
1515
var_os="${var_os:-debian}"
1616
var_version="${var_version:-13}"
1717
var_arm64="${var_arm64:-yes}"

‎ct/usesend.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ function update_script() {
4545

4646
msg_info "Building useSend"
4747
cd /opt/usesend
48-
$STD pnpm install --frozen-lockfile --filter "web..." --filter smtp-server
48+
PUPPETEER_SKIP_DOWNLOAD=true $STD pnpm install --frozen-lockfile --filter "web..." --filter smtp-server
4949
$STD pnpm --filter web db:generate
5050
SKIP_ENV_VALIDATION=true DOCKER_OUTPUT=1 NEXT_TELEMETRY_DISABLED=1 NEXT_PUBLIC_APP_VERSION="v$(cat ~/.usesend)" $STD pnpm --filter "web..." --filter smtp-server build
5151
cp -r apps/web/.next/static apps/web/.next/standalone/apps/web/.next/

‎install/kyoo-install.sh‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,7 @@ chmod 600 /opt/kyoo_data/.env /opt/kyoo_data/keibi.pem
115115
msg_ok "Configured Kyoo"
116116

117117
msg_info "Configuring Nginx"
118-
# Replaces upstream's Traefik: same routes, and auth_request plays its forwardAuth
119-
# "phantom token" middleware that swaps session tokens and API keys for a JWT.
118+
# Upstream's Traefik routes; auth_request replaces its forwardAuth that swaps tokens/API keys for a JWT.
120119
cat <<'EOF' >/etc/nginx/sites-available/kyoo
121120
map $http_upgrade $kyoo_connection_upgrade {
122121
default upgrade;

‎install/usesend-install.sh‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ NODE_VERSION="22" NODE_MODULE="pnpm@$(jq -r '.packageManager | split("@")[1]' /o
2525

2626
msg_info "Building useSend"
2727
cd /opt/usesend
28-
# Filtered, so the root devDependencies (Mintlify docs tooling with Puppeteer) are not installed
29-
$STD pnpm install --frozen-lockfile --filter "web..." --filter smtp-server
28+
# Puppeteer only comes with the docs tooling (Mintlify) in the root devDependencies; useSend never runs a browser
29+
PUPPETEER_SKIP_DOWNLOAD=true $STD pnpm install --frozen-lockfile --filter "web..." --filter smtp-server
3030
$STD pnpm --filter web db:generate
3131
SKIP_ENV_VALIDATION=true DOCKER_OUTPUT=1 NEXT_TELEMETRY_DISABLED=1 NEXT_PUBLIC_APP_VERSION="v$(cat ~/.usesend)" $STD pnpm --filter "web..." --filter smtp-server build
3232
cp -r apps/web/.next/static apps/web/.next/standalone/apps/web/.next/

‎json/kyoo.json‎

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,30 @@
3636
"username": null,
3737
"password": null
3838
},
39-
"notes": []
39+
"notes": [
40+
{
41+
"text": "There is no default account. The first account registered at http://<IP>:8901 becomes the administrator, so create it right after the install. Later sign-ups have to be verified by the administrator before they can play anything.",
42+
"type": "warning"
43+
},
44+
{
45+
"text": "Visitors who are not logged in can browse the library but not play it (GUEST_CLAIMS in /opt/kyoo_data/.env). Set GUEST_CLAIMS= to require a login for everything, then run systemctl restart kyoo-auth.",
46+
"type": "info"
47+
},
48+
{
49+
"text": "The library is read from /opt/kyoo_data/media. Bind-mount your media there from the host, e.g. pct set <CTID> -mp0 /path/to/media,mp=/opt/kyoo_data/media, and make it readable for the container's root user. New files are picked up automatically; files on a network share that sends no change events show up after systemctl restart kyoo-scanner.",
50+
"type": "info"
51+
},
52+
{
53+
"text": "PUBLIC_URL and JWT_ISSUER in /opt/kyoo_data/.env must stay identical. Change both when Kyoo is reached under another address (needed for OIDC logins), then run systemctl restart kyoo-auth kyoo-api kyoo-scanner.",
54+
"type": "info"
55+
},
56+
{
57+
"text": "Hardware transcoding is configured from the GPU passed through at install time (GOCODER_HWACCEL=vaapi for Intel/AMD, nvidia for NVIDIA, disabled otherwise). Change it in /opt/kyoo_data/.env (qsv is also valid) and run systemctl restart kyoo-transcoder.",
58+
"type": "info"
59+
},
60+
{
61+
"text": "Install and every update compile Kyoo from source (Go, Bun, Python and the Expo web app), which takes 15-25 minutes on 4 cores and peaks at about 2.5 GB of RAM.",
62+
"type": "info"
63+
}
64+
]
4065
}

‎json/rauthy.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"resources": {
2727
"cpu": 4,
2828
"ram": 4096,
29-
"hdd": 10,
29+
"hdd": 12,
3030
"os": "Debian",
3131
"version": "13"
3232
}

‎vm/nextcloud-vm.sh‎

Lines changed: 0 additions & 114 deletions
This file was deleted.

0 commit comments

Comments
 (0)