Init navidrome
This commit is contained in:
parent
0d61ec65bd
commit
1cdf054afa
2
server/config/navidrome/.env
Normal file
2
server/config/navidrome/.env
Normal file
@ -0,0 +1,2 @@
|
||||
DOCKER_DATA=/home/joey/data/navidrome
|
||||
MEDIA_DIR=/mnt/nas/media/Audio/Music
|
23
server/config/navidrome/docker-compose.yml
Normal file
23
server/config/navidrome/docker-compose.yml
Normal file
@ -0,0 +1,23 @@
|
||||
version: "3"
|
||||
services:
|
||||
navidrome:
|
||||
image: deluan/navidrome:latest
|
||||
user: 1000:1000
|
||||
networks:
|
||||
- web
|
||||
ports:
|
||||
- "4533:4533"
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
ND_BASEURL: "navidrome.jafner.net"
|
||||
volumes:
|
||||
- "$DOCKER_DATA:/data"
|
||||
- "$MUSIC_DIR:/music:ro"
|
||||
labels:
|
||||
- traefik.http.routers.navidrome.rule=Host(`navidrome.jafner.net`)
|
||||
- traefik.http.routers.navidrome.tls.certresolver=lets-encrypt
|
||||
- traefik.http.routers.navidrome.middlewares=lan-only@file
|
||||
|
||||
networks:
|
||||
web:
|
||||
external: true
|
Loading…
Reference in New Issue
Block a user