47 lines
980 B
YAML
47 lines
980 B
YAML
services:
|
|
navidrome:
|
|
image: deluan/navidrome:0.62.0
|
|
restart: unless-stopped
|
|
depends_on:
|
|
init:
|
|
condition: service_completed_successfully
|
|
restart: true
|
|
user: 2012:2012 # navidrome:navidrome
|
|
networks:
|
|
- navidrome_network
|
|
ports:
|
|
- 4534:4533
|
|
environment:
|
|
ND_BASEURL: "https://navidrome.kappeh.org"
|
|
ND_ENABLEINSIGHTSCOLLECTOR: false
|
|
volumes:
|
|
- data:/data:rw
|
|
- /mnt/media_library_1/data/music:/music:ro
|
|
labels:
|
|
diun.enable: true
|
|
diun.watch_repo: true
|
|
diun.include_tags: latest
|
|
|
|
init:
|
|
image: busybox:1.38.0
|
|
user: root:root
|
|
command: /init.sh
|
|
restart: no
|
|
network_mode: none
|
|
volumes:
|
|
- ./init.sh:/init.sh:ro
|
|
- /etc/passwd:/etc/passwd:ro
|
|
- /etc/group:/etc/group:ro
|
|
- data:/data:rw
|
|
labels:
|
|
diun.enable: true
|
|
diun.watch_repo: true
|
|
diun.include_tags: latest
|
|
|
|
volumes:
|
|
data:
|
|
|
|
networks:
|
|
navidrome_network:
|
|
|