2022-08-25 22:22:11 +02:00
|
|
|
services:
|
|
|
|
######## navidrome-mg ########
|
|
|
|
navidrome-mg:
|
|
|
|
container_name: "navidrome-mg"
|
2024-12-22 01:12:27 +01:00
|
|
|
image: "deluan/navidrome:0.54.2"
|
2024-10-23 18:21:54 +02:00
|
|
|
restart: unless-stopped
|
2024-10-23 18:20:04 +02:00
|
|
|
pull_policy: missing
|
2022-08-25 22:22:11 +02:00
|
|
|
environment:
|
2023-04-06 19:53:27 +02:00
|
|
|
ND_AUTOIMPORTPLAYLISTS: false
|
|
|
|
ND_BASEURL: /mg
|
2024-06-12 07:51:03 +02:00
|
|
|
ND_COVERARTPRIORITY: "embedded"
|
2024-11-24 18:53:26 +01:00
|
|
|
ND_DATAFOLDER: /data
|
2024-06-12 07:51:03 +02:00
|
|
|
ND_ENABLEARTWORKPRECACHE: true
|
|
|
|
ND_ENABLECOVERANIMATION: false
|
|
|
|
ND_ENABLEEXTERNALSERVICES: false
|
2024-11-24 18:53:26 +01:00
|
|
|
ND_ENABLEGRAVATAR: false
|
2024-06-12 07:51:03 +02:00
|
|
|
ND_ENABLEMEDIAFILECOVERART: true
|
|
|
|
ND_ENABLEREPLAYGAIN: true
|
|
|
|
ND_ENABLESHARING: false
|
2024-11-24 18:53:26 +01:00
|
|
|
ND_ENABLESTARRATING: false
|
|
|
|
ND_ENABLETRANSCODINGCONFIG: true
|
|
|
|
ND_IMAGECACHESIZE: 100MB
|
2024-06-12 07:51:03 +02:00
|
|
|
ND_JUKEBOX_ENABLED: false
|
2024-11-24 18:53:26 +01:00
|
|
|
ND_LASTFM_ENABLED: false
|
|
|
|
ND_LOGLEVEL: info
|
|
|
|
ND_MUSICFOLDER: /music
|
|
|
|
ND_RECENTLYADDEDBYMODTIME: true
|
|
|
|
ND_SCANSCHEDULE: 0 1 * * *
|
|
|
|
ND_SESSIONTIMEOUT: 24h
|
|
|
|
ND_TRANSCODINGCACHESIZE: 500MB
|
2023-04-06 19:53:27 +02:00
|
|
|
PUID: 1000
|
|
|
|
PGID: 1000
|
|
|
|
TZ: Europe/Berlin
|
|
|
|
ND_ENABLE_EXTERNAL_SERVICES: false
|
2022-08-25 22:22:11 +02:00
|
|
|
volumes:
|
|
|
|
- musik_smb_mg:/music:ro
|
|
|
|
- data:/data
|
|
|
|
networks:
|
|
|
|
- traefik
|
|
|
|
labels:
|
2023-04-20 14:50:33 +02:00
|
|
|
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
|
2022-08-25 22:22:11 +02:00
|
|
|
ports:
|
|
|
|
- "4533:4533"
|
|
|
|
|
|
|
|
|
|
|
|
######## Volumes ########
|
|
|
|
volumes:
|
|
|
|
data:
|
|
|
|
musik_smb_mg: # Verzeichnis in restic aus Backup ausnehmen!
|
|
|
|
driver: local
|
|
|
|
driver_opts:
|
|
|
|
type: "cifs"
|
2024-11-10 15:44:41 +01:00
|
|
|
o: "user=navidrome,password={{ lookup('viczem.keepass.keepass', 'fileserver/fileserver_smb_user_navidrome', 'password') }}"
|
2022-11-24 16:20:57 +01:00
|
|
|
device: "//192.168.2.54/musik/Musik"
|
2022-08-25 22:22:11 +02:00
|
|
|
######## Networks ########
|
|
|
|
networks:
|
|
|
|
traefik:
|
|
|
|
external: true
|