# navidrome -maloja





| Création       | Portainer                                                    |
| -------------- | ------------------------------------------------------------ |
| Mise-à-jour    | Watchtower                                                   |
| Port navidrome | 4533                                                         |
| Port maloja    | 42010                                                        |
| Liens          | [Navidrome](https://www.navidrome.org/)<br />[Github](https://github.com/krateng/maloja) |



```yaml
version: "3"
services:
  navidrome:
    image: deluan/navidrome
    container_name: navidrome
    user: 1028:65536 # à modifier par votre propre PGID et PUID
    ports:
      - "4533:4533" # modifier votre IP donnant vers l'exterieur
    environment:
      # Optional: put your config options customization here. Examples:
      ND_SCANSCHEDULE: 1h
      ND_SESSIONTIMEOUT: "24h"
      ND_LOGLEVEL: debug
      ND_BASEURL: ""
      ND_DEFAULTLANGUAGE: fr
      ND_ENABLEEXTERNALSERVICES: true
      ND_ENABLELOGREDACTING: true
      ND_ENABLECOVERANIMATION: false
      ND_AUTHREQUESTLIMIT: 10
      ND_LISTENBRAINZ_ENABLED: true
      ND_LISTENBRAINZ_BASEURL: "http://maloja:42010/apis/listenbrainz/1/"
      #ND_LISTENBRAINZ_BASEURL: "https://maloja.photos-nas.ovh/apis/mlj_1/newscrobble"
      ND_LASTFM_ENABLED: true
      ND_LASTFM_LANGUAGE: fr
      ND_ENABLEFAVOURITES: true
      ND_ENABLESTARRATING: true
      ND_ENABLEUSEREDITING: true
      #ND_ENABLEDOWNSAMPLING: "true"
      #ND_MAXBITRATE: 128 # can be anything less then your Ogg files bitrate
      #ND_DOWNSAMPLECOMMAND: "ffmpeg -i %s -map 0:0 -b:a %bk -v 0 -c:a libopus -f opus -"
      ND_PORT: 4533
    env_file:
         - stack.env
    volumes:
      - "/volume1/docker/navidrome:/data"
      - "/volume1/music:/music:ro"
    labels:
      - "com.centurylinklabs.watchtower.enable=true"
      #- com.centurylinklabs.watchtower.depends-on=
      #- "diun.enable=true"
    restart: unless-stopped
    
  maloja:
    # from dockerhub
    image: "krateng/maloja:latest"
    container_name: maloja
    ports:
      - "42010:42010"
    restart: unless-stopped
    # different directories for configuration, state and logs
    volumes:
      - "/volume1/docker/maloja/data:/data"
    environment:
      - "MALOJA_DATA_DIRECTORY=/data"
      - "PUID=1028"
      - "PGID=65536"
      - "MALOJA_LOGGING=true"
    env_file:
         - stack.env
    labels:
      - "com.centurylinklabs.watchtower.enable=true"
      #- com.centurylinklabs.watchtower.depends-on=
      #- "diun.enable=true"

```

