Init navidrome

This commit is contained in:
Joey Hafner 2024-07-21 14:28:00 -07:00
parent fb44b723f3
commit 6e07c5bf9a
No known key found for this signature in database
3 changed files with 23 additions and 0 deletions

View File

@ -0,0 +1 @@
DOCKER_DATA=/home/admin/data/navidrome

View File

@ -0,0 +1,18 @@
services:
navidrome:
image: deluan/navidrome:latest
container_name: navidrome_navidrome
restart: "no"
user: 1001:1001
networks:
- web
env_file:
- path: ./navidrome.env
required: true
volumes:
- "${MUSIC_DIR}:/music:ro"
- "${DOCKER_DATA}:/data"
labels:
- traefik.http.routers.navidrome.rule=Host(`music.jafner.net`)
- traefik.http.routers.navidrome.tls.certresolver=lets-encrypt
- traefik.http.services.navidrome.loadbalancer.server.port=4533

View File

@ -0,0 +1,4 @@
ND_SCANSCHEDULE: 1h
ND_LOGLEVEL: info
ND_SESSIONTIMEOUT: 24h
ND_BASEURL: "music.jafner.net"