Finished up with canopy 0.2.2-indev
This commit is contained in:
parent
781b6a8311
commit
a62be27db7
43
config.example.jsonc
Normal file
43
config.example.jsonc
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
//WARNING DO NOT USE THIS CONFIG, USE THE REGULAR EXAMPLE, CANOPY DOES NOT SUPPORT JSONC CONFIGS!
|
||||
//This file merely exists to help you configure your actual config file
|
||||
{
|
||||
//Display name on the nav bar and a coupla other places
|
||||
"instanceName": "Canopy",
|
||||
//Scream about exceptions in the console
|
||||
"verbose": false,
|
||||
//Port to bind to (most linux/unix systems req root for ports below 1000, you should probably use nginx if you want port 80 or 443)
|
||||
"port": 8080,
|
||||
//Lets the server know it's sitting behind a reverse-proxy
|
||||
"proxied": false,
|
||||
//Protocol (either HTTP or HTTPS)
|
||||
"protocol": "http",
|
||||
//Domain the server is available at, used for server-side link generation
|
||||
"domain": "localhost",
|
||||
//Session secret used to secure session keys
|
||||
"sessionSecret": "CHANGE_ME",
|
||||
//Altacha secret used to generate altcha challenges
|
||||
"altchaSecret": "CHANGE_ME",
|
||||
//IP Secret used to salt IP Hashes
|
||||
"ipSecret": "CHANGE_ME",
|
||||
//SSL cert and key locations
|
||||
"ssl":{
|
||||
"cert": "./server.cert",
|
||||
"key": "./server.key"
|
||||
},
|
||||
//DB configuration
|
||||
"db":{
|
||||
"address": "127.0.0.1",
|
||||
"port": "27017",
|
||||
"database": "canopy",
|
||||
"user": "canopy",
|
||||
"pass": "CHANGE_ME"
|
||||
},
|
||||
//maintainence email configuration
|
||||
"mail":{
|
||||
"host": "mail.42069.weed",
|
||||
"port": 465,
|
||||
"secure": true,
|
||||
"address": "toke@42069.weed",
|
||||
"pass": "CHANGE_ME"
|
||||
}
|
||||
}
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "canopy-of",
|
||||
"version": "0.2.1",
|
||||
"version": "0.2.2",
|
||||
"license": "AGPL-3.0-only",
|
||||
"dependencies": {
|
||||
"altcha": "^1.0.7",
|
||||
|
|
|
|||
Loading…
Reference in a new issue