Install with the setup script
One command that asks a few questions, writes the compose file for you and starts Songstress.
If you'd rather answer questions than edit files, the setup script does the work of Install with Docker Compose for you. It runs on Linux and macOS, on a 64-bit machine, with Docker installed. On Windows, run it inside WSL 2.
Run it
curl -fsSL https://raw.githubusercontent.com/pacholoamit/songstress-releases/main/install.sh | shThe script downloads the songstress command, checks it against its published checksum, and installs it in
~/.local/bin (or /usr/local/bin). Then it starts the setup.
Answer its questions
- Install directory. Where Songstress lives. The default is
~/songstress. - Music library path. The folder that holds your music.
- Route downloads through your VPN? Say yes only if you have a WireGuard key for a VPN. See Compose files.
- Dashboard port. The port for the web app. The default is 8090.
- Admin email and Admin password. Let it generate a password (recommended), choose your own, or skip and create the admin in the app.
- Share diagnostics? Whether Songstress sends diagnostics. See Security and privacy.
- Set up email (SMTP)? Optional, for invites and password resets.
It writes compose.yaml and .env (which holds your passwords, readable only by you) into the install directory,
starts Songstress, and waits until the server, its worker and your library all answer. Then it shows the address to
open.
If you skipped the admin account, open that address now and create it. Until you do, anyone who can open the page can.
Update
Run the same command again. It keeps your answers and passwords, moves to the release it was tested with, and
keeps the files it replaced in a previous folder.
When an update is out, admins see Update available in Settings, with this command ready to copy.
Run it without questions
Everything after -- goes to the setup. For example, to update an install in another folder without being asked:
curl -fsSL https://raw.githubusercontent.com/pacholoamit/songstress-releases/main/install.sh | sh -s -- --yes --install-dir /srv/songstresssongstress install --help lists every option.