Deploying the server
Once Audioland development server works on your machine, the next step is creating a dedicated running service for the server: this can be done creating a daemon in Debian or with a LXC container in Proxmox that streams your library whenever you want it.
The server repository ships everything for that under deploy/. There is no Docker: deployment is shell scripts plus a systemd unit - neither repository contains a container file.
Ready to deploy targets are Debian and Proxmox VE. Check the Requirements first - in production the server still wants ffmpeg, sqlite3 and Python for the toolkit.
Choose your path
Section titled “Choose your path”The repository provides three, in rough order of convenience:
- Debian install script -
deploy/debian/audioland.sh. The audited source describes it as installing system dependencies (including rustup), configuring UFW, and optionally setting up Adminer, a small web tool for the database. - Proxmox VE LXC script -
deploy/lxc/audioland.sh, the counterpart for creating the server as an LXC container on a Proxmox VE host. - Build and deploy manually -
./deploy/build-prod.shfollowed by./deploy/deploy.sh, the documented production build path for hosts where you want to run the steps yourself.
Whichever path you take, the server itself is configured exactly as in Run the server: a config.toml with real paths for your machine. On a production host that means editing the example Linux paths (/var/lib/audioland/..., /library/music) to where your library actually lives. The confirmed fields and environment overrides are listed in Server configuration.
The systemd service
Section titled “The systemd service”Production runs use the unit at deploy/audioland.service. Two behaviors matter when you install or update:
- Database migrations run at startup. The server applies the schema and migrations from
database/migrations/todata.dbwhen it boots, so there is no separate migration step to remember before first login. - Logging is configured through environment. The binary reads
AUDIOLAND_LOG_LEVEL,AUDIOLAND_LOG_JSONandAUDIOLAND_LOGS_PATHto decide verbosity, format and where logs go; the systemd unit itself also setsRUST_LOG.
Because the server binds to server_host:server_port from its config, a production host reachable from your desktop machines needs server_host set to the LAN address, and port 3000/tcp opened in the firewall - the Debian script’s UFW configuration covers exactly that.
Keeping up to date
Section titled “Keeping up to date”The repository ships an updater that downloads the latest Linux binary from the server project’s GitLab releases page:
python3 deploy/update_audioland_prod.pyAfter it fetches the new binary, restart the service so the server actually runs it - a general systemd habit, not an Audioland-specific step.
Secure your install
Section titled “Secure your install”A home server holding your library deserves a few deliberate choices before you trust it with daily listening.