File: //var/dev/farhangmoaser/web/config.json
{
"dev": {
"client": {
"hostname": "http://fm.example.com",
"path": "/",
"authGoogle": true,
"authYahoo": false
},
"backend": {
"port": 3100,
"host": "localhost",
"proxy": true
},
"redis": {
"host": "localhost",
"port": 6379
},
"db": {
"engine": "mysql"
},
"mysql": {
"username": "root",
"password": "anandashankar",
"database": "b_farhangmoaser"
},
"mail": {
"connection": {
"host": "mail.nimrouz.com",
"port": 25,
"secure": false,
"auth": {
"user": "farhangmoaser@nimrouz.com",
"pass": "planetnaboo"
}
},
"address": "farhangmoaser@nimrouz.com"
},
"cacheLifeSpan": {
"userData": 600
},
"purchase": {
"steps": {
"_2To5": 0.1,
"_6To10": 0.2,
"_11": 0.4
}
}
},
"production": {
"client": {
"hostname": "http://fm.nimrouz.com",
"path": "/",
"authGoogle": true,
"authYahoo": false
},
"backend": {
"port": 3100,
"host": "localhost",
"proxy": true
},
"redis": {
"host": "localhost",
"port": 6379
},
"db": {
"engine": "mysql"
},
"mysql": {
"username": "nimrouzgeneral",
"password": "a6unu4u3e",
"database": "b_farhangmoaser"
},
"mail": {
"connection": {
"host": "mail.nimrouz.com",
"port": 25,
"secure": false,
"auth": {
"user": "farhangmoaser@nimrouz.com",
"pass": "planetnaboo"
}
},
"address": "farhangmoaser@nimrouz.com"
},
"cacheLifeSpan": {
"userData": 600
},
"purchase": {
"steps": {
"_2To5": 0.1,
"_6To10": 0.2,
"_11": 0.4
}
}
},
"test": {
"client": {
"hostname": "http://fm.example.com",
"path": "/",
"authGoogle": true,
"authYahoo": false
},
"backend": {
"port": 3100,
"host": "localhost",
"proxy": true,
"log": "dev",
"logDir": "./log"
},
"redis": {
"host": "localhost",
"port": 6380
},
"db": {
"engine": "mysql"
},
"mysql": {
"username": "root",
"password": "anandashankar",
"database": "farhangtest"
}
}
}