Add secret-free config template for fresh clones
This commit is contained in:
@ -1,5 +1,7 @@
|
||||
# Copy to .env and adjust per instance. Give every clone a unique
|
||||
# COMPOSE_PROJECT_NAME and a unique set of ports.
|
||||
# COMPOSE_PROJECT_NAME and a unique set of ports. In a fresh clone also run:
|
||||
# mkdir -p config music
|
||||
# cp config/mopidy.conf.example config/mopidy.conf
|
||||
|
||||
# Namespaces the named volumes (mopidy-data, mopidy-cache).
|
||||
COMPOSE_PROJECT_NAME=mopidy
|
||||
|
||||
60
config/mopidy.conf.example
Normal file
60
config/mopidy.conf.example
Normal file
@ -0,0 +1,60 @@
|
||||
[core]
|
||||
config_dir = ~/config
|
||||
restore_state = true
|
||||
|
||||
[file]
|
||||
enabled = true
|
||||
media_dirs = /var/lib/mopidy/media
|
||||
follow_symlinks = true
|
||||
|
||||
[local]
|
||||
enabled = true
|
||||
|
||||
[logging]
|
||||
verbosity = 0
|
||||
color = true
|
||||
|
||||
[http]
|
||||
enabled = true
|
||||
hostname = 0.0.0.0
|
||||
port = 6680
|
||||
static_dir =
|
||||
zeroconf = Mopidy HTTP server on $hostname
|
||||
allowed_origins =
|
||||
csrf_protection = true
|
||||
|
||||
[stream]
|
||||
enabled = true
|
||||
protocols =
|
||||
http
|
||||
https
|
||||
mms
|
||||
rtmp
|
||||
rtmps
|
||||
rtsp
|
||||
timeout = 5000
|
||||
metadata_blacklist =
|
||||
|
||||
# Get this account's API credentials at https://mopidy.com/ext/spotify/,
|
||||
# then generate the playback credentials blob with:
|
||||
# scripts/refresh-spotify-creds.py
|
||||
[spotify]
|
||||
enabled = true
|
||||
client_id =
|
||||
client_secret =
|
||||
|
||||
[bandcamp]
|
||||
enabled = false
|
||||
#identity =
|
||||
|
||||
#soundcloud
|
||||
#enabled = true
|
||||
|
||||
[webhooks]
|
||||
enabled = true
|
||||
urls =
|
||||
tokens =
|
||||
|
||||
[audio]
|
||||
# Example output to a Snapcast TCP stream; adjust host/port per instance.
|
||||
output = audioresample ! rgvolume ! audioconvert ! audio/x-raw,rate=48000,channels=2,format=S16LE ! wavenc ! tcpclientsink host=snapcast.service port=4006 async=False
|
||||
Reference in New Issue
Block a user