This is a really basic docker image for mStream
docker run -d -p 80:80 -v /path/to/music/folder:/music -e USER=admin -e PASSWORD=secure-password hzrd149/mstream
-p 80:80
Forwards port 80 from the host to the container-v /path/to/music/folder:/music
The path to your music folder-e KEY="value"
These are environment variables which configure the container. See below for a description of their meanings.
USER
Sets the username for the login (see docs)PASSWORD
Sets the password for the user (see docs)PORT
Sets the internal port the server is hosted onNO_UPLOAD
Sets the--noupload
option (see docs)
Basic Example with no login and no uploads
version: "3"
services:
mstream:
image: hzrd149/mstream
ports:
- 8080:80
volumes:
- ./music:/music
environment:
NO_UPLOAD: "true"
Example with login
version: "3"
services:
mstream:
image: hzrd149/mstream
ports:
- 8080:80
volumes:
- ./music:/music
environment:
USER: "admin"
PASSWORD: "secure-password"