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
|
2022-07-13 13:35:56 -07:00
|
|
|
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
|
2022-07-13 10:47:27 -07:00
|
|
|
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
|
2022-07-15 10:56:20 -07:00
|
|
|
#- 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
|