aboutsummaryrefslogtreecommitdiff
path: root/config.json
diff options
context:
space:
mode:
authorNathan Lasseter <Nathan Lasseter nathan@bytemark.co.uk>2015-09-26 13:12:37 +0100
committerNathan Lasseter <Nathan Lasseter nathan@bytemark.co.uk>2015-09-26 13:12:37 +0100
commit267c89fe42050d056b8c041ee66008e304c0bcf3 (patch)
treedb3d519226bc8c58e3bd47196c6ae1fc25e0ca84 /config.json
parente13c16a261b71b7e590dda6c9ef826385b7b5b02 (diff)
Config now read from file at startupHEADmaster
Diffstat (limited to 'config.json')
-rw-r--r--config.json21
1 files changed, 21 insertions, 0 deletions
diff --git a/config.json b/config.json
new file mode 100644
index 0000000..be08795
--- /dev/null
+++ b/config.json
@@ -0,0 +1,21 @@
+{
+ "Database": {
+ "Username": "audiocache",
+ "Password": "audiocache",
+ "Hostname": "localhost",
+ "Database": "audiocache",
+ "Adapter": "postgres",
+ "SSLMode": "disable"
+ },
+ "Storage": {
+ "Location": "/tmp/audiocache/"
+ },
+ "Server": {
+ "Listen": "127.0.0.1",
+ "Port": "8080"
+ },
+ "API": {
+ "Location": "http://localhost:8080/",
+ "Files": "files/"
+ }
+}