build cyp from external repo
This commit is contained in:
parent
71e5ba0c71
commit
43ad123bd5
2 changed files with 18 additions and 6 deletions
|
@ -15,8 +15,8 @@ services:
|
|||
#environment:
|
||||
#- XDG_RUNTIME_DIR=/tmp
|
||||
volumes:
|
||||
- ./srv/music:/var/lib/mpd/music:ro
|
||||
- ./srv/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,12 +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
|
||||
|
||||
cyp:
|
||||
build:
|
||||
context: ../cyp/
|
||||
dockerfile: Dockerfile
|
||||
container_name: cyp
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- 8080:8080/tcp
|
||||
volumes:
|
||||
- ../cyp/_youtube:/cyp/_youtube
|
||||
|
||||
|
|
Loading…
Reference in a new issue