mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
configure pulseaudio from env. (#39)
This commit is contained in:
parent
09508638ce
commit
f8edd988b3
@ -103,10 +103,6 @@ RUN set -eux; \
|
|||||||
adduser $USERNAME video; \
|
adduser $USERNAME video; \
|
||||||
adduser $USERNAME pulse; \
|
adduser $USERNAME pulse; \
|
||||||
#
|
#
|
||||||
# setup pulseaudio
|
|
||||||
mkdir -p /home/$USERNAME/.config/pulse/; \
|
|
||||||
echo "default-server=unix:/tmp/pulseaudio.socket" > /home/$USERNAME/.config/pulse/client.conf; \
|
|
||||||
#
|
|
||||||
# workaround for an X11 problem: http://blog.tigerteufel.de/?p=476
|
# workaround for an X11 problem: http://blog.tigerteufel.de/?p=476
|
||||||
mkdir /tmp/.X11-unix; \
|
mkdir /tmp/.X11-unix; \
|
||||||
chmod 1777 /tmp/.X11-unix; \
|
chmod 1777 /tmp/.X11-unix; \
|
||||||
@ -154,6 +150,7 @@ COPY runtime/fonts /usr/local/share/fonts
|
|||||||
# set default envs
|
# set default envs
|
||||||
ENV USER=$USERNAME
|
ENV USER=$USERNAME
|
||||||
ENV DISPLAY=:99.0
|
ENV DISPLAY=:99.0
|
||||||
|
ENV PULSE_SERVER=unix:/tmp/pulseaudio.socket
|
||||||
ENV NEKO_SERVER_BIND=:8080
|
ENV NEKO_SERVER_BIND=:8080
|
||||||
ENV NEKO_PLUGINS_ENABLED=true
|
ENV NEKO_PLUGINS_ENABLED=true
|
||||||
ENV NEKO_PLUGINS_DIR=/etc/neko/plugins/
|
ENV NEKO_PLUGINS_DIR=/etc/neko/plugins/
|
||||||
|
@ -119,10 +119,6 @@ RUN set -eux; \
|
|||||||
adduser $USERNAME video; \
|
adduser $USERNAME video; \
|
||||||
adduser $USERNAME pulse; \
|
adduser $USERNAME pulse; \
|
||||||
#
|
#
|
||||||
# setup pulseaudio
|
|
||||||
mkdir -p /home/$USERNAME/.config/pulse/; \
|
|
||||||
echo "default-server=unix:/tmp/pulseaudio.socket" > /home/$USERNAME/.config/pulse/client.conf; \
|
|
||||||
#
|
|
||||||
# workaround for an X11 problem: http://blog.tigerteufel.de/?p=476
|
# workaround for an X11 problem: http://blog.tigerteufel.de/?p=476
|
||||||
mkdir /tmp/.X11-unix; \
|
mkdir /tmp/.X11-unix; \
|
||||||
chmod 1777 /tmp/.X11-unix; \
|
chmod 1777 /tmp/.X11-unix; \
|
||||||
@ -199,6 +195,7 @@ COPY runtime/fonts /usr/local/share/fonts
|
|||||||
# set default envs
|
# set default envs
|
||||||
ENV USER=$USERNAME
|
ENV USER=$USERNAME
|
||||||
ENV DISPLAY=:99.0
|
ENV DISPLAY=:99.0
|
||||||
|
ENV PULSE_SERVER=unix:/tmp/pulseaudio.socket
|
||||||
ENV NEKO_SERVER_BIND=:8080
|
ENV NEKO_SERVER_BIND=:8080
|
||||||
ENV NEKO_PLUGINS_ENABLED=true
|
ENV NEKO_PLUGINS_ENABLED=true
|
||||||
ENV NEKO_PLUGINS_DIR=/etc/neko/plugins/
|
ENV NEKO_PLUGINS_DIR=/etc/neko/plugins/
|
||||||
|
Loading…
Reference in New Issue
Block a user