setup minio #227
1 changed files with 15 additions and 52 deletions
|
@ -1,62 +1,25 @@
|
||||||
services:
|
services:
|
||||||
######## navidrome-mg ########
|
minio:
|
||||||
navidrome-mg:
|
image: minio/minio:latest # add to renovate; https://github.com/renovatebot/renovate/issues/2438
|
||||||
container_name: "navidrome-mg"
|
container_name: minio
|
||||||
image: "deluan/navidrome:0.53.3"
|
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
pull_policy: missing
|
pull_policy: missing
|
||||||
environment:
|
ports:
|
||||||
ND_LOGLEVEL: info
|
- '9000:9000'
|
||||||
ND_SESSIONTIMEOUT: 24h
|
- '9001:9001'
|
||||||
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
|
|
||||||
ND_COVERARTPRIORITY: "embedded"
|
|
||||||
ND_ENABLEARTWORKPRECACHE: true
|
|
||||||
ND_ENABLECOVERANIMATION: false
|
|
||||||
ND_ENABLEEXTERNALSERVICES: false
|
|
||||||
ND_ENABLEMEDIAFILECOVERART: true
|
|
||||||
ND_ENABLEREPLAYGAIN: true
|
|
||||||
ND_ENABLESHARING: false
|
|
||||||
ND_JUKEBOX_ENABLED: false
|
|
||||||
PUID: 1000
|
|
||||||
PGID: 1000
|
|
||||||
TZ: Europe/Berlin
|
|
||||||
ND_ENABLE_EXTERNAL_SERVICES: false
|
|
||||||
volumes:
|
|
||||||
- musik_smb_mg:/music:ro
|
|
||||||
- data:/data
|
|
||||||
networks:
|
networks:
|
||||||
- traefik
|
- 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
|
|
||||||
ports:
|
|
||||||
- "4533:4533"
|
|
||||||
|
|
||||||
|
|
||||||
######## Volumes ########
|
|
||||||
volumes:
|
volumes:
|
||||||
data:
|
- data:/data
|
||||||
musik_smb_mg: # Verzeichnis in restic aus Backup ausnehmen!
|
environment:
|
||||||
driver: local
|
- MINIO_ROOT_USER=madmin
|
||||||
driver_opts:
|
- MINIO_ROOT_PASSWORD=hallowelt
|
||||||
type: "cifs"
|
- MINIO_DEFAULT_BUCKETS=bucket1
|
||||||
o: "user=navidrome,password={{ lookup('viczem.keepass.keepass', 'fileserver_smb_user_navidrome', 'password') }}"
|
|
||||||
device: "//192.168.2.54/musik/Musik"
|
|
||||||
######## Networks ########
|
######## Networks ########
|
||||||
networks:
|
networks:
|
||||||
traefik:
|
traefik:
|
||||||
external: true
|
external: true
|
||||||
|
######## Volumes ########
|
||||||
|
volumes:
|
||||||
|
data:
|
||||||
|
|
Loading…
Reference in a new issue