I have a working MyMPD setup in my casaOS.
MyMPD is a client for the music player daemon. You can fetch lyrics, listen with httpd stream, create scripts… As it is a webclient, it is accessible in any device.
MyMPD: github . com/jcorporation/myMPD
MyMPD documentation on Docker: jcorporation . github. io/myMPD/010-installation/docker/
MyMPD as setup in my casaOS setup (not the greatest, but works, lol)
name: recursing_michele
services:
mympd:
cpu_shares: 90
command:
container_name: mympd
deploy:
resources:
limits:
memory: 7809M
environment:
- MPD_HOST=192.168.10.107
- MPD_PORT=6602
- MYMPD_HTTP_PORT=8086
- MYMPD_SSL=false
- UMASK_SET=022
hostname: mympd
image: Package mympd/mympd · GitHub
labels:
icon: redacted by limit
ports:
- target: 8086
published: “8086”
protocol: tcp
restart: unless-stopped
user: 1000:1000
volumes:
- type: bind
source: /run/mpd
target: /run/mpd
- type: bind
source: /docker/mympd/workdir
target: /var/lib/mympd
- type: bind
source: /docker/mympd/cachedir
target: /var/cache/mympd
- type: bind
source: /DATA/Media/Music
target: /var/lib/mpd/music
- type: bind
source: /var/lib/mpd/playlists
target: /var/lib/mpd/playlists
- type: bind
source: /media/devmon/sda1-usb-JMicron_Generic_/media_library/music_lib
target: /media/devmon/sda1-usb-JMicron_Generic_/media_library/music_lib
devices:
cap_add:
network_mode: bridge
privileged: false
x-casaos:
author: self
category: self
hostname: “”
icon: https://icon.casaos.io/main/all/myMPD.png
index: /
is_uncontrolled: false
port_map: “8086”
scheme: http
store_app_id: recursing_michele
title:
custom: myMPD
Thanks for the repo, hope my contribution can be useful!