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: #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

View file