Init navidrome

This commit is contained in:
Joey Hafner 2022-06-22 16:58:34 -07:00
parent 0d61ec65bd
commit 1cdf054afa
2 changed files with 25 additions and 0 deletions

View File

@ -0,0 +1,2 @@
DOCKER_DATA=/home/joey/data/navidrome
MEDIA_DIR=/mnt/nas/media/Audio/Music

View 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