music-compose.yml

version: "3"
services:
  navidrome:
    image: deluan/navidrome:latest
    ports:
      - 4533:4533
    environment:
      - ND_SCANSCHEDULE=1h
      - ND_LOGLEVEL=info
#      - ND_BASEURL="http://192.168.77.101:4533"
      - ND_ENABLETRANSCODINGCONFIG=true
      - ND_LASTFM_LANGUAGE=zh
      - ND_LASTFM_APIKEY=633ef967dc7c23716a785e9e310e4d35
      - ND_LASTFM_SECRET=5376a79dfde9136878b39f7093a131c5
      - ND_TRANSCODINGCACHESIZE=500MB
      - FlexDebug=on
    volumes:
      - /data/music/data:/data
      - music:/music:ro

volumes:
  music:
    driver: local
    driver_opts:
      type: cifs
      device: "//192.168.77.4/music/"
      o: "username=music,password=www.123.com"


  • 无标签