https://github.com/hectorm/docker-musikcube
A Docker image for musikcube.
https://github.com/hectorm/docker-musikcube
Last synced: about 1 year ago
JSON representation
A Docker image for musikcube.
- Host: GitHub
- URL: https://github.com/hectorm/docker-musikcube
- Owner: hectorm
- License: mit
- Created: 2018-01-21T18:21:47.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2024-07-26T19:58:05.000Z (almost 2 years ago)
- Last Synced: 2025-04-28T12:09:08.605Z (about 1 year ago)
- Language: Makefile
- Homepage: https://hub.docker.com/r/hectorm/musikcube
- Size: 146 KB
- Stars: 12
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# musikcube on Docker
A Docker image for [musikcube](https://github.com/clangen/musikcube).
## Start as daemon
```sh
docker run --detach \
--name musikcube \
--restart on-failure:3 \
--publish 7905:7905/tcp \
--publish 7906:7906/tcp \
--env MUSIKCUBE_SERVER_PASSWORD=musikcube \
--mount type=volume,src=musikcube-data,dst=/var/lib/musikcube/ \
--mount type=bind,src="$HOME"/Music,dst=/music,ro \
hectorm/musikcube:latest
```
## Start as client
```sh
docker run --tty --interactive --rm \
--name musikcube \
--log-driver none \
--publish 7905:7905/tcp \
--publish 7906:7906/tcp \
--env MUSIKCUBE_SERVER_PASSWORD=musikcube \
--env MUSIKCUBE_OUTPUT_DRIVER=PulseAudio \
--env PULSE_SERVER=/run/user/1000/pulse/native \
--mount type=volume,src=musikcube-data,dst=/var/lib/musikcube/ \
--mount type=bind,src="$XDG_RUNTIME_DIR"/pulse/native,dst=/run/user/1000/pulse/native,ro \
--mount type=bind,src="$HOME"/Music,dst=/music,ro \
hectorm/musikcube:latest
```
## Environment variables
#### `MUSIKCUBE_SERVER_PASSWORD`
This environment variable sets the remote control password, by default its value is `musikcube`.
#### `MUSIKCUBE_OUTPUT_DRIVER`
This environment variable sets the output sound driver, by default its value is `Null`, since the main purpose of this image is to be used as a daemon.
## License
See the [license](LICENSE.md) file.