add base config file

This commit is contained in:
Kegan Myers 2020-06-29 02:22:04 -05:00
parent 9a50641854
commit 3884626250
3 changed files with 28 additions and 1 deletions

View file

@ -1 +1,2 @@
* *
!mopidy.conf

View file

@ -9,4 +9,6 @@ RUN apt-get update && \
apt-get autoremove -y && \ apt-get autoremove -y && \
apt-get clean && \ apt-get clean && \
rm -rf /var/lib/apt/lists/* rm -rf /var/lib/apt/lists/*
CMD mopidy ADD mopidy.conf /etc/mopidy.conf
CMD mopidy --config /etc/mopidy.conf:/data/config/mopidy.conf
EXPOSE 6680

24
mopidy.conf Normal file
View file

@ -0,0 +1,24 @@
[core]
cache_dir = /data/cache
config_dir = /data/config
data_dir = /data/data
restore_state = true
[http]
enabled = true
hostname = 0.0.0.0
port = 6680
zeroconf = ""
allowed_origins =
csrf_protection = true
[audio]
output = audioresample ! audioconvert ! audio/x-raw,rate=48000,channels=2,format=S16LE ! filesink location=/data/tmp/snapfifo
[local]
enabled = true
media_dir = /data/media
[gmusic]