A self-hosted music streaming app.
docker run -it -p 5000:5000 \
--env media_library=/music \
--mount type=bind,source=/home/user/Music,target=/music,readonly \
keotl/prismarine:latest
Open http://localhost:5000 in your browser.
version: '3'
volumes:
/home/user/Music: null
services:
prismarine:
container_name: prismarine
deploy:
replicas: 1
restart_policy:
condition: always
environment:
media_library: /music
expose:
- 5000
image: keotl/prismarine:1.0.3
ports:
- '5000'
volumes:
- /home/user/Music:/music:ro
- Download the latest stable .deb package from the releases page.
- Install the required dependencies.
sudo apt install ffmpeg nginx python3-pip
- Install the deb package.
sudo dpkg -i prismarine.deb
- Edit the configuration file to point the server to your media library.
sudo nano /usr/lib/prismarine-server/application.yml
Modify the media_library
folder to your liking.
- Enable/start Prismarine using systemd.
sudo systemctl enable prismarine
sudo systemctl start prismarine
- Open Prismarine in your browser. The server listens on all interfaces on port 80 by default.