aboutsummaryrefslogtreecommitdiffhomepage
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/default.yaml21
-rw-r--r--config/test-1.yaml19
-rw-r--r--config/test-2.yaml19
-rw-r--r--config/test-3.yaml19
-rw-r--r--config/test.yaml9
5 files changed, 87 insertions, 0 deletions
diff --git a/config/default.yaml b/config/default.yaml
new file mode 100644
index 000000000..646113da4
--- /dev/null
+++ b/config/default.yaml
@@ -0,0 +1,21 @@
1listen:
2 port: 9000
3
4webserver:
5 https: false
6 host: 'localhost'
7 port: 9000
8
9database:
10 host: 'localhost'
11 port: 27017
12 suffix: '-suffix'
13
14# From the project root directory
15storage:
16 certs: 'certs/'
17 uploads: 'uploads/'
18 logs: 'logs/'
19
20network:
21 friends: []
diff --git a/config/test-1.yaml b/config/test-1.yaml
new file mode 100644
index 000000000..031e4893f
--- /dev/null
+++ b/config/test-1.yaml
@@ -0,0 +1,19 @@
1listen:
2 port: 9001
3
4webserver:
5 host: 'localhost'
6 port: 9001
7
8database:
9 suffix: '-test1'
10
11# From the project root directory
12storage:
13 certs: 'test1/certs/'
14 uploads: 'test1/uploads/'
15 logs: 'test1/logs/'
16
17network:
18 friends:
19 - 'http://localhost:9002'
diff --git a/config/test-2.yaml b/config/test-2.yaml
new file mode 100644
index 000000000..8a2a80158
--- /dev/null
+++ b/config/test-2.yaml
@@ -0,0 +1,19 @@
1listen:
2 port: 9002
3
4webserver:
5 host: 'localhost'
6 port: 9002
7
8database:
9 suffix: '-test2'
10
11# From the project root directory
12storage:
13 certs: 'test2/certs/'
14 uploads: 'test2/uploads/'
15 logs: 'test2/logs/'
16
17network:
18 friends:
19 - 'http://localhost:9003'
diff --git a/config/test-3.yaml b/config/test-3.yaml
new file mode 100644
index 000000000..3e906d125
--- /dev/null
+++ b/config/test-3.yaml
@@ -0,0 +1,19 @@
1listen:
2 port: 9003
3
4webserver:
5 host: 'localhost'
6 port: 9003
7
8database:
9 suffix: '-test3'
10
11# From the project root directory
12storage:
13 certs: 'test3/certs/'
14 uploads: 'test3/uploads/'
15 logs: 'test3/logs/'
16
17network:
18 friends:
19 - 'http://localhost:9001'
diff --git a/config/test.yaml b/config/test.yaml
new file mode 100644
index 000000000..8a667a001
--- /dev/null
+++ b/config/test.yaml
@@ -0,0 +1,9 @@
1listen:
2 port: 9000
3
4webserver:
5 https: false
6
7database:
8 host: 'localhost'
9 port: 27017