diff --git a/homelab/fighter/config/navidrome/.env b/homelab/fighter/config/navidrome/.env new file mode 100644 index 00000000..3f3e1dc9 --- /dev/null +++ b/homelab/fighter/config/navidrome/.env @@ -0,0 +1 @@ +DOCKER_DATA=/home/admin/data/navidrome \ No newline at end of file diff --git a/homelab/fighter/config/navidrome/docker-compose.yml b/homelab/fighter/config/navidrome/docker-compose.yml new file mode 100644 index 00000000..56f7ee01 --- /dev/null +++ b/homelab/fighter/config/navidrome/docker-compose.yml @@ -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 \ No newline at end of file diff --git a/homelab/fighter/config/navidrome/navidrome.env b/homelab/fighter/config/navidrome/navidrome.env new file mode 100644 index 00000000..964a4638 --- /dev/null +++ b/homelab/fighter/config/navidrome/navidrome.env @@ -0,0 +1,4 @@ +ND_SCANSCHEDULE: 1h +ND_LOGLEVEL: info +ND_SESSIONTIMEOUT: 24h +ND_BASEURL: "music.jafner.net"