Railway template scaffolding for Koel, a personal music streaming server. The published Railway marketplace name is koel.
Based on the upstream koel/docker Compose
stack (PostgreSQL variant), with a thin wrapper so Railway's one-volume limit
still covers music, artwork, search indexes, and APP_KEY.
The template runs Koel as two Railway services:
app— Koel web UI + Apache (public)postgres— application database (private)
Follow docs/railway-wiring.md when creating or
updating the marketplace template. It contains the exact service names,
reference variables, generated secrets, ports, healthchecks, and volume mounts.
Paste docs/description.md into the Railway template
Description field when publishing.
Only the app URL should be opened in a browser. Postgres stays on Railway private networking.
The wrapper currently tracks Koel 9.11.0 (Docker Hub tag for upstream release
v9.11.0).
- Copy
.env.exampleto.env. - Optionally set
APP_KEY(docker run --rm phanan/koel:9.11.0 php artisan key:generate --show). Leave empty to auto-generate on first boot (stored under the/datavolume). - Start the stack:
docker compose up --buildOpen http://localhost:8080. Sign in with the default admin
admin@koel.dev / KoelIsCool, then change the password immediately.
Put audio files under the koel-data volume at /data/music (or sync via the
UI) and trigger a library scan.
- Bump the image tag in
services/app/Dockerfileto the new Docker Hub semver (GitHub releasevX.Y.Z→ image tagX.Y.Z). - Diff upstream docker-compose.postgres.yml and the koel/docker README for env/volume changes and port them here.
- Run
docker compose configand smoke-test/sw.js, admin login, a small library scan, and playback.
upstream-check.yml opens a version-bump PR weekly. Koel's Docker Hub tags omit
the leading v from GitHub releases — strip it if a bot PR rewrites FROM to a
non-existent v* tag before merging.
This repository contains deployment configuration only. Koel is distributed under MIT; see the upstream license.
Community-maintained Railway packaging — not an official Koel project.