Scorch/config.py.template

28 lines
759 B
Plaintext
Raw Permalink Normal View History

2020-05-07 15:31:49 -04:00
#!/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.
2020-11-12 13:18:01 -05:00
`music_dir` is the filesystem directory containing library being served.
`static_prefix` is the root path your static files are being served at.
2020-05-07 15:31:49 -04:00
`buckler` specifies settings pertaining to the Buckler server.
"""
2020-11-12 13:18:01 -05:00
server_domain = 'steelbea.me'
2020-05-07 15:31:49 -04:00
url_prefix = '/scorch'
2020-11-12 13:18:01 -05:00
music_dir = "/home/iou1name/music/Music/"
static_prefix = "/scorch/opus/"
2020-06-03 15:50:49 -04:00
db = {
'database': 'scorch',
'user': 'scorch',
'password': """password""",
'host': 'localhost',
'port': 5432,
}
2020-05-07 15:31:49 -04:00
buckler = {
'url': "http://127.0.0.1:5400/buckler",
2020-06-03 15:50:49 -04:00
'app_id': 1,
'app_key': """password""",
2020-05-07 15:31:49 -04:00
'login_url': "/buckler/login",
}