homelab/server/config/navidrome/docker-compose.yml

30 lines
742 B
YAML
Raw Normal View History

2022-06-22 16:58:34 -07:00
version: "3"
services:
navidrome:
image: deluan/navidrome:latest
2022-07-08 23:03:33 -07:00
container_name: navidrome_navidrome
logging:
driver: loki
options:
loki-url: http://localhost:3100/loki/api/v1/push
loki-batch-size: "50"
loki-retries: "1"
loki-timeout: "2s"
2022-07-14 15:22:44 -07:00
keep-file: "true"
2022-06-22 16:58:34 -07:00
user: 1000:1000
networks:
- web
restart: "no"
2022-06-22 16:58:34 -07:00
environment:
2022-06-22 17:02:44 -07:00
ND_BASEURL: ""
2022-06-22 16:58:34 -07:00
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=
2022-06-22 17:16:30 -07:00
2022-06-22 16:58:34 -07:00
networks:
web:
external: true