Browse Source

added more details

Toastie 4 years ago
parent
commit
2ad6babc8f
1 changed files with 9 additions and 4 deletions
  1. 9 4
      mopidy/README.md

+ 9 - 4
mopidy/README.md

@@ -1,12 +1,17 @@
 # Mopidy Media Server
 
+Mopidy runs under uid 100 with the gid defined in the build ARG `gid_audio`.
+
 ## Devices/Volumes
-  - /dev/snd:/dev/snd  --> sound card
-  - ./data/mopidy/:/var/lib/mopidy/ --> mopidy home
+  - Sound card: `/dev/snd:/dev/snd`
+  - Mopidy home: `./data/mopidy/:/var/lib/mopidy/`
 
 ## Ports
   - 6600 MPD
   - 6680 Mopidy Web Interface, set to 80 in docker-compose.yml
 
-# Configuration
-  - Set your sound device here: `data/etc/asound.conf`
+## Configuration
+  - The configuration assumes that a USB audio device exists as card 1 in alsa, a different configuration can be set in:
+    - `/data/mopidy/.config/mopidy/mopidy.conf`
+    - ``data/etc/asound.conf`
+  - Set build ARG `gid_audio` to the gid of group `audio` on the docker host (default 29)