add base config file
This commit is contained in:
parent
9a50641854
commit
3884626250
|
@ -1 +1,2 @@
|
|||
*
|
||||
!mopidy.conf
|
||||
|
|
|
@ -9,4 +9,6 @@ RUN apt-get update && \
|
|||
apt-get autoremove -y && \
|
||||
apt-get clean && \
|
||||
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
24
mopidy.conf
Normal 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]
|
||||
|
||||
|
Loading…
Reference in a new issue