Michael Grote
47b00dca68
Reviewed-on: #658 Co-authored-by: Michael Grote <michael.grote@posteo.de> Co-committed-by: Michael Grote <michael.grote@posteo.de>
56 lines
1.7 KiB
Django/Jinja
56 lines
1.7 KiB
Django/Jinja
version: '3'
|
|
services:
|
|
######## navidrome-mg ########
|
|
navidrome-mg:
|
|
container_name: "navidrome-mg"
|
|
image: "deluan/navidrome:0.51.0@sha256:efd0b899e74db3e5063a8c773cfe7d103b0b61ce7021a50f2f9da189591b9dc7"
|
|
restart: always
|
|
environment:
|
|
ND_LOGLEVEL: info
|
|
ND_SESSIONTIMEOUT: 24h
|
|
ND_MUSICFOLDER: /music
|
|
ND_DATAFOLDER: /data
|
|
ND_SCANSCHEDULE: 0 1 * * *
|
|
ND_TRANSCODINGCACHESIZE: 500MB
|
|
ND_IMAGECACHESIZE: 100MB
|
|
ND_AUTOIMPORTPLAYLISTS: false
|
|
ND_BASEURL: /mg
|
|
ND_ENABLESTARRATING: false
|
|
ND_ENABLEGRAVATAR: false
|
|
ND_LASTFM_ENABLED: false
|
|
ND_ENABLETRANSCODINGCONFIG: true
|
|
PUID: 1000
|
|
PGID: 1000
|
|
TZ: Europe/Berlin
|
|
ND_ENABLE_EXTERNAL_SERVICES: false
|
|
volumes:
|
|
- musik_smb_mg:/music:ro
|
|
- data:/data
|
|
networks:
|
|
- traefik
|
|
labels:
|
|
traefik.http.routers.navidrome-mg.rule: Host(`audio.mgrote.net`)&&PathPrefix(`/mg`)
|
|
traefik.enable: true
|
|
traefik.http.routers.navidrome-mg.tls: true
|
|
traefik.http.routers.navidrome-mg.tls.certresolver: resolver_letsencrypt
|
|
traefik.http.routers.navidrome-mg.entrypoints: entry_https
|
|
traefik.http.services.navidrome-mg.loadbalancer.server.port: 4533
|
|
|
|
com.centurylinklabs.watchtower.enable: true
|
|
ports:
|
|
- "4533:4533"
|
|
|
|
|
|
######## Volumes ########
|
|
volumes:
|
|
data:
|
|
musik_smb_mg: # Verzeichnis in restic aus Backup ausnehmen!
|
|
driver: local
|
|
driver_opts:
|
|
type: "cifs"
|
|
o: "user=navidrome,password={{ lookup('keepass', 'navidrome_smb_share_password', 'password') }}"
|
|
device: "//192.168.2.54/musik/Musik"
|
|
######## Networks ########
|
|
networks:
|
|
traefik:
|
|
external: true
|