forked from Doma/docker-mopidy
alsa support
This commit is contained in:
@@ -52,8 +52,7 @@ COPY pulse-client.conf /etc/pulse/client.conf
|
|||||||
# Allows any user to run mopidy, but runs by default as a randomly generated UID/GID.
|
# Allows any user to run mopidy, but runs by default as a randomly generated UID/GID.
|
||||||
ENV HOME=/var/lib/mopidy
|
ENV HOME=/var/lib/mopidy
|
||||||
RUN set -ex \
|
RUN set -ex \
|
||||||
&& usermod -u 84044 mopidy \
|
&& usermod -u 84044 -G audio,sudo mopidy \
|
||||||
&& groupmod -g 84044 audio \
|
|
||||||
&& chown mopidy:audio -R $HOME /entrypoint.sh \
|
&& chown mopidy:audio -R $HOME /entrypoint.sh \
|
||||||
&& chmod go+rwX -R $HOME /entrypoint.sh
|
&& chmod go+rwX -R $HOME /entrypoint.sh
|
||||||
|
|
||||||
|
|||||||
@@ -202,3 +202,8 @@ Alternatively if you don't need visualizers you can do:
|
|||||||
### Feedbacks
|
### Feedbacks
|
||||||
|
|
||||||
Having more issues? [Report a bug on GitHub](https://github.com/wernight/docker-mopidy/issues). Also if you need some additional extensions/plugins that aren't already installed (please explain why).
|
Having more issues? [Report a bug on GitHub](https://github.com/wernight/docker-mopidy/issues). Also if you need some additional extensions/plugins that aren't already installed (please explain why).
|
||||||
|
|
||||||
|
|
||||||
|
### Alsa Audio
|
||||||
|
|
||||||
|
For non debian distros. The gid for audio group in /etc/group must be 29 to match debians default as `audio:x:29:<your user outside of docker>` this is to match the user id inside the docker container. You'll also need to add the `output = alsasink` config line under the audio section in your `mopidy.conf`.
|
||||||
|
|||||||
Reference in New Issue
Block a user