29 lines
757 B
Plaintext
29 lines
757 B
Plaintext
|
#!/usr/bin/env python3
|
||
|
"""
|
||
|
Config settings for Pyrite.
|
||
|
|
||
|
`db` specifies settings for connecting to the database server.
|
||
|
`music_dir` the directory containing music files being served.
|
||
|
`server_domain` the root domain of the website, used for setting cookies.
|
||
|
`server_homepage` the app's homepage, used for Buckler redirects.
|
||
|
`buckler` specifies settings pertaining to the Buckler server.
|
||
|
"""
|
||
|
db = {
|
||
|
'database': 'pyrite',
|
||
|
'user': 'pyrite',
|
||
|
'password': r"""password""",
|
||
|
'host': 'localhost',
|
||
|
'port': 5432,
|
||
|
}
|
||
|
|
||
|
music_dir = "/home/iou1name/music/opus/"
|
||
|
|
||
|
server_domain = 'steelbea.me'
|
||
|
server_homepage = 'https://steelbea.me/pyrite'
|
||
|
buckler = {
|
||
|
'url': "http://127.0.0.1:5400/buckler",
|
||
|
'app_id': 0,
|
||
|
'app_key': r"""password""",
|
||
|
'login_url': "/buckler/login",
|
||
|
}
|