Files
playlistd/.sqlx/query-48b88b6b5e7e44a170bf3b9b0a4cb120b4654a9bbc35c2993fdb561c580c9f4c.json
Claude 0767c21a6f Add Docker Compose deployment
compose.yaml runs playlistd with a Postgres database. Settings come from
.env (see .env.example), and Postgres must be healthy before playlistd
starts.

The Dockerfile builds the web UI with Node and the server with Rust, then
copies both into a Debian slim image that runs as an unprivileged user. It
also installs the latest yt-dlp (with its YouTube scripts) and Deno, the
JavaScript runtime yt-dlp needs for YouTube. playlistd's port is only
published on 127.0.0.1 by default, since it has no login.

The image can't reach a database during the build, so the SQL query data
from `cargo sqlx prepare` is now committed in .sqlx/. Builds with
DATABASE_URL set still check queries against that database.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018opPJMJjLWr4RqdG6vuK6p
2026-11-14 10:22:23 +00:00

16 lines
326 B
JSON

{
"db_name": "PostgreSQL",
"query": "UPDATE \"mix_suggestion\" SET youtube_id = $1 WHERE id = $2",
"describe": {
"columns": [],
"parameters": {
"Left": [
"Varchar",
"Uuid"
]
},
"nullable": []
},
"hash": "48b88b6b5e7e44a170bf3b9b0a4cb120b4654a9bbc35c2993fdb561c580c9f4c"
}