Scorch/config.py.template

28 lines
759 B
Python

#!/usr/bin/env python3
"""
Configuration settings for the Scorch musc streaming app.
`url_prefix` is the root path you wish app to reside at
eg. https://example.com/scorch.
`music_dir` is the filesystem directory containing library being served.
`static_prefix` is the root path your static files are being served at.
`buckler` specifies settings pertaining to the Buckler server.
"""
server_domain = 'steelbea.me'
url_prefix = '/scorch'
music_dir = "/home/iou1name/music/Music/"
static_prefix = "/scorch/opus/"
db = {
'database': 'scorch',
'user': 'scorch',
'password': """password""",
'host': 'localhost',
'port': 5432,
}
buckler = {
'url': "http://127.0.0.1:5400/buckler",
'app_id': 1,
'app_key': """password""",
'login_url': "/buckler/login",
}