docker build -t holizz/cherrymusic .
docker run -ti --rm \
-v /path/to/music:/music \
-v /path/to/persistent/data:/root/.local \
-p 3000:3000 \
--name cherrymusic holizz/cherrymusic
Then visit: http://localhost:3000/
Replace /path/to/music with the path to your music directory.
If you want to change the port you have to change it in the Dockerfile too.
version: '3'
services:
cherrymusic:
image: holizz/cherrymusic
networks:
- traefik_public
volumes:
- /path/to/music:/music
- /path/to/persistent/data:/root/.local
When building the docker image yourself replace image: holizz/cherrymusic with build: ./cherrymusic-docker.
When using traefik you can use the following:
labels:
- traefik.frontend.rule=Host:cherry.yourdomain.net
- traefik.port=3000
Content type
Image
Digest
Size
360.3 MB
Last updated
over 8 years ago
docker pull rknt/cherrymusic-docker