Compare commits
2 commits
4757d56b0e
...
43ad123bd5
Author | SHA1 | Date | |
---|---|---|---|
43ad123bd5 | |||
71e5ba0c71 |
3 changed files with 13 additions and 40 deletions
|
@ -15,8 +15,8 @@ services:
|
||||||
#environment:
|
#environment:
|
||||||
#- XDG_RUNTIME_DIR=/tmp
|
#- XDG_RUNTIME_DIR=/tmp
|
||||||
volumes:
|
volumes:
|
||||||
- ./Music:/var/lib/mpd/music:ro
|
- /srv/music:/var/lib/mpd/music:ro
|
||||||
- ./playlists:/var/lib/mpd/playlists:rw
|
- /srv/playlists:/var/lib/mpd/playlists:rw
|
||||||
- ./data:/var/lib/mpd/data:rw
|
- ./data:/var/lib/mpd/data:rw
|
||||||
- ./config/mpd.conf:/etc/mpd.conf:rw
|
- ./config/mpd.conf:/etc/mpd.conf:rw
|
||||||
# Time:
|
# Time:
|
||||||
|
@ -24,51 +24,24 @@ services:
|
||||||
- /etc/localtime:/etc/localtime:ro
|
- /etc/localtime:/etc/localtime:ro
|
||||||
## PipeWire support by mounting the host socket
|
## PipeWire support by mounting the host socket
|
||||||
#- /run/user/1000/pipewire-0:/tmp/pipewire-0
|
#- /run/user/1000/pipewire-0:/tmp/pipewire-0
|
||||||
#devices:
|
devices:
|
||||||
# - "/dev/snd:/dev/snd"
|
- "/dev/snd:/dev/snd"
|
||||||
#cap_add:
|
cap_add:
|
||||||
# - SYS_NICE
|
- SYS_NICE
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD-SHELL", "nc -nzv -w 3 127.0.0.1 6600 || exit 1"]
|
test: ["CMD-SHELL", "nc -nzv -w 3 127.0.0.1 6600 || exit 1"]
|
||||||
interval: 60s
|
interval: 60s
|
||||||
timeout: 5s
|
timeout: 5s
|
||||||
retries: 3
|
retries: 3
|
||||||
|
|
||||||
# https://github.com/jcorporation/myMPD
|
cyp:
|
||||||
mympd:
|
build:
|
||||||
image: ghcr.io/jcorporation/mympd/mympd:latest
|
context: ../cyp/
|
||||||
container_name: mympd
|
dockerfile: Dockerfile
|
||||||
|
container_name: cyp
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
ports:
|
ports:
|
||||||
- 8080:80/tcp
|
- 8080:8080/tcp
|
||||||
- 8443:443/tcp
|
|
||||||
environment:
|
|
||||||
- TZ=Europe/Berlin
|
|
||||||
- UMASK_SET=022 #optional
|
|
||||||
# Notice: After the first start all environment variables are ignored, except loglevel.
|
|
||||||
- MPD_HOST=mpd
|
|
||||||
- MPD_PORT=6600
|
|
||||||
#- MPD_TIMEOUT=30
|
|
||||||
#- MYMPD_ACL=+0.0.0.0/0
|
|
||||||
#- MYMPD_COVERCACHE_KEEP_DAYS=31
|
|
||||||
#- MYMPD_HTTP_HOST=0.0.0.0
|
|
||||||
#- MYMPD_HTTP_PORT=80
|
|
||||||
#- MYMPD_LOGLEVEL=5
|
|
||||||
#- MYMPD_LUALIBS=all
|
|
||||||
#- MYMPD_SCRIPTACL=+127.0.0.1
|
|
||||||
- MYMPD_SSL=false
|
|
||||||
#- MYMPD_SSL_PORT=443
|
|
||||||
#- MYMPD_SSL_SAN=mpd.example.com
|
|
||||||
#- MYMPD_CUSTOM_CERT=false
|
|
||||||
#- MYMPD_SSL_CERT=/var/lib/mympd/ssl/server.crt
|
|
||||||
#- MYMPD_SSL_KEY=/var/lib/mympd/ssl/server.key
|
|
||||||
volumes:
|
volumes:
|
||||||
- ./Music/:/music/:ro
|
- ../cyp/_youtube:/cyp/_youtube
|
||||||
- ./playlists/:/playlists/:ro
|
|
||||||
- ./mympd/:/var/lib/mympd/:rw
|
|
||||||
healthcheck:
|
|
||||||
test: ["CMD-SHELL", "nc -nzv -w 3 127.0.0.1 80 || exit 1"]
|
|
||||||
interval: 60s
|
|
||||||
timeout: 5s
|
|
||||||
retries: 3
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue