Repository navigation
docs: add Docker deployment details from the retired server guide - #152
Conversation
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configuration
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Silo Kody — review completeReview finished. Check the inline comments for findings and verify each suggestion against the code and tests. Reviewing changes in Silo
Review settingsReview OptionsThe following review options are enabled or disabled:
|
|
Preview removed after this pull request was closed. Its address now redirects to siloserver.org, though some visitors may still see the old preview for a while. |
Silo Kody — review completeReview finished. Check the inline comments for findings and verify each suggestion against the code and tests. Reviewing changes in Silo
Review settingsReview OptionsThe following review options are enabled or disabled:
|
Problem
Part of #38
Silo-Server/silo-server#1635 removed the server repository's Docker deployment guide, so the manual is now the only place for this material. Several details only existed in that guide, or in the two server PRs named in the issue comments: the node port variables, the full set of PostgreSQL tuning variables, how the search index rebuilds, how many database connections nodes need, and what large migrations need. I checked each item against silo-server
origin/mainand left out the ones that are no longer true or that another thread owns (listed below).Pages changed
DEVELOPMENT.mdPROXY_PORTandTRANSCODE_PORT, the transcode mount path, search index status and rebuildsMEDIA_CONTAINER_ROOTwarning, tuning variable table, memory detection, node connections, JIT, tuning an external database,apimodeNVIDIA_GPU_COUNTWhat changed on each page
Requirements and installation options
DEVELOPMENT.md. The deployment guide it used to point at no longer exists.Docker deployment reference
PROXY_PORT(8083) andTRANSCODE_PORT(8082), the host ports of the commentedsilo-proxyandsilo-transcodeexamples.transcodeis mounted at/tmp/silo-transcode.Server configuration and dependencies
MEDIA_CONTAINER_ROOTunchanged on an existing server.POSTGRES_TUNE_*values" is now a table with defaults from.env.exampleandpostgres_tune.go.postgres auto-tuning disabledlog line.20), so with nodes,POSTGRES_TUNE_CONNECTIONSneeds that times the number of processes. Silo turns JIT off on its own connections unlessjitis already set.DATABASE_URLuserALTER SYSTEM, and what that exposes.apican still transcode when node routing falls back to it.Worth checking: the tuning text is now about six paragraphs. I kept the cgroup and
/host/proc/meminfoorder out and only described the outcome.Transcode nodes
Set up transcoding and chapter previews
NVIDIA_GPU_COUNTraises that. This is line 26, well away from the preview section draft docs(playback): explain chapter and marker previews #127 edits (line 77 onward).Update Silo safely
Left out on purpose
download-artifactslines fordocker.mdandbackup-restore.md: Document download storage management for administrators #132 documents the new Admin > Downloads page and the per-node prepared-file directory and budget, and owns that topic. The mount from silo-server#1645 also hasn't merged.c6383aa4d, the settings picker shows SQLite (TBD) as unavailable, and Where per-user data is stored says "PostgreSQL is the only supported option". A "before switching to SQLite" step would describe something readers can't do.--migrate-down-torollback: the issue flags this as a maintainer decision. The flag exists on main, but the page still says to restore the backup.;inCOMPOSE_FILE: the GPU section covers Linux only, and the requirements page already says the Linux GPU steps don't apply unchanged elsewhere.Evidence
Source reviewed, not tested on a live server or device:
silo-server
9d37930c6, siloserver.org2264f3c.docker-compose.yml,docker-compose.nvidia.yml,.env.exampleinternal/database/postgres_tune.go,internal/database/postgres.go(disableUnconfiguredJIT),cmd/silo/main.go(maybeApplyPostgresTuning)web/src/pages/admin-settings/InfrastructureSettings.tsx,internal/config/admin_settings.goweb/src/pages/admin-settings/SearchStatusPanel.tsx,LibraryMetadataSettings.tsx,internal/catalog/search_provider.go,internal/taskmanager/tasks/catalog_search_index.gointernal/database/migrate.goapimode:cmd/silo/main.gomode checks,internal/config/playback_routing.goNeeds a hands-on check: that granting
ALTER SYSTEMalone is enough for tuning on an external PostgreSQL. Tuning also callspg_reload_conf(), which a non-superuser may need a separate grant for.Risks
None identified. Documentation only.
Checklist
AI Disclosure
Note
Add Docker deployment details to the server guides from the retired guide
POSTGRES_TUNE_PROFILE,POSTGRES_TUNE_MEMORY,POSTGRES_TUNE_CONNECTIONS, and others), automatic memory-source selection, and required privileges for tuning an external PostgreSQL serverMEDIA_CONTAINER_ROOTon existing installs, PostgreSQL locks after abandoned migrations, and pre-update disk space for table rewrites in updates.mdPROXY_PORT/TRANSCODE_PORThost ports, the/tmp/silo-transcodemount, multiple GPUs viaNVIDIA_GPU_COUNT, and connection sizing across server and nodesDEVELOPMENT.mdMacroscope summarized 464e8e8.