-
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathconfig.example.js
More file actions
47 lines (39 loc) · 746 Bytes
/
config.example.js
File metadata and controls
47 lines (39 loc) · 746 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
let config = {};
config.port = 3012;
config.server = {
name: "default",
mode: "master",
masterHost: ""
};
config.resourceFileRoot = "/home/spiget/resources/download/";
config.mongo = {
useTunnel: false,
tunnel: {
username: "mongo",
host: "1.2.3.4",
privateKey: require("fs").readFileSync("./id_rsa"),
port: 22,
dstPort: 27017
},
user: "",
pass: "",
address: "localhost",
port: 27017,
database: "spiget"
};
config.cloudflare = {
zone: "",
key: "",
email: ""
};
config.swagger = {
};
config.puller = {
endpoint: "/_git_webhook",
secret: "",
vars: {
appName: "spiget"
},
logCommands: true
};
module.exports = config;