Files
omarandClaude Opus 4.8 b93d476903
Build and Publish Backend Image / build (push) Failing after 14s
fix(youtube): bake JS-challenge solver into backend image + Gitea CI
YouTube playback relied on manual changes inside the running container
(deno install + /etc/yt-dlp.conf) that would be lost on any recreate.
Make it permanent and reproducible:

- Dockerfile.backend: install pinned deno 2.8.3 as yt-dlp's JS runtime and
  write a system-wide /etc/yt-dlp.conf enabling the EJS challenge solver
  (--js-runtimes deno, --remote-components ejs:github, --force-ipv4).
  Replaces the unreliable node-based config.
- .gitea/workflows/build-backend.yml: build Dockerfile.backend and push
  git.qomar.pw/omar/ts6-manager/backend:latest (amd64). Needs REGISTRY_TOKEN.
- docker-compose.yml: pull backend from the Gitea registry; frontend/sidecar
  stay on upstream clusterzx images. Mount ./secrets read-only for optional
  YouTube cookies via YT_COOKIE_FILE.
- gitignore/dockerignore: never commit cookies (live Google session).
- DEPLOY.md: deployment + CI notes.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-16 07:27:57 +03:00

23 lines
342 B
Plaintext

node_modules/
dist/
build/
.env
*.db
*.db-journal
*.log
.DS_Store
Thumbs.db
.vscode/
.idea/
packages/backend/generated/
packages/backend/data/
packages/backend/prisma/migrations/
.claude/
build-and-push.ps1
# Secrets — NEVER commit. youtube-cookies.txt is a live Google session.
youtube-cookies.txt
cookies.txt
secrets/*
!secrets/.gitkeep