Compare commits

...

2 commits

Author SHA1 Message Date
43ad123bd5 build cyp from external repo 2024-09-06 17:00:05 +03:00
71e5ba0c71 remove mympd 2024-09-06 16:52:50 +03:00
3 changed files with 13 additions and 40 deletions

View file

View file

@ -15,8 +15,8 @@ services:
#environment:
#- XDG_RUNTIME_DIR=/tmp
volumes:
- ./Music:/var/lib/mpd/music:ro
- ./playlists:/var/lib/mpd/playlists:rw
- /srv/music:/var/lib/mpd/music:ro
- /srv/playlists:/var/lib/mpd/playlists:rw
- ./data:/var/lib/mpd/data:rw
- ./config/mpd.conf:/etc/mpd.conf:rw
# Time:
@ -24,51 +24,24 @@ services:
- /etc/localtime:/etc/localtime:ro
## PipeWire support by mounting the host socket
#- /run/user/1000/pipewire-0:/tmp/pipewire-0
#devices:
# - "/dev/snd:/dev/snd"
#cap_add:
# - SYS_NICE
devices:
- "/dev/snd:/dev/snd"
cap_add:
- SYS_NICE
healthcheck:
test: ["CMD-SHELL", "nc -nzv -w 3 127.0.0.1 6600 || exit 1"]
interval: 60s
timeout: 5s
retries: 3
# https://github.com/jcorporation/myMPD
mympd:
image: ghcr.io/jcorporation/mympd/mympd:latest
container_name: mympd
cyp:
build:
context: ../cyp/
dockerfile: Dockerfile
container_name: cyp
restart: unless-stopped
ports:
- 8080:80/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
- 8080:8080/tcp
volumes:
- ./Music/:/music/:ro
- ./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
- ../cyp/_youtube:/cyp/_youtube

View file