Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
pisns-forum-api
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
scrmGroup
pisns-forum-api
Commits
d1752a1d
Commit
d1752a1d
authored
Aug 11, 2015
by
杨翌文
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改配置
parent
1221355f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
29 deletions
+30
-29
config.js
config/config.js
+30
-29
No files found.
config/config.js
View file @
d1752a1d
...
@@ -63,35 +63,36 @@ var config = {
...
@@ -63,35 +63,36 @@ var config = {
},
},
production
:
{
production
:
{
root
:
rootPath
,
root
:
rootPath
,
app
:
{
app
:
{
name
:
'pisns-forum-api'
name
:
'pisns-forum-api'
},
},
service
:
'http://pisn
s.wxpai.cn'
,
service
:
'http://piplu
s.wxpai.cn'
,
port
:
3011
,
port
:
3011
,
mongodb
:
{
mongodb
:
{
uri
:
'mongodb://10.173.226.96:27017/pisns-forum'
,
uri
:
'mongodb://10.173.224.92,10.173.226.96,10.173.227.160/pisns-forum'
,
username
:
'future'
,
username
:
'future'
,
password
:
'future123456'
,
password
:
'future123456'
,
dbname
:
'pisns-forum'
,
dbname
:
'pisns-forum'
,
poolSize
:
50
replset
:
'hdp'
,
},
poolSize
:
50
ossConfig
:
{
},
accessKeyId
:
'ezpP6LGjecQW6zJC'
,
ossConfig
:
{
accessKeySecret
:
'1iqc1bkwZCVjK7oFUYdGm6e0xOL4mF'
,
accessKeyId
:
'ezpP6LGjecQW6zJC'
,
bucketNameProd
:
'pisns-oss-res'
,
accessKeySecret
:
'1iqc1bkwZCVjK7oFUYdGm6e0xOL4mF'
,
bucketNameDev
:
'pisns-oss-dev'
,
bucketNameProd
:
'pisns-oss-res'
,
prodCDNURL
:
'http://fs.wxpai.cn/'
,
bucketNameDev
:
'pisns-oss-dev'
,
devCDNURL
:
'http://dev.fs.wxpai.cn/'
prodCDNURL
:
'http://fs.wxpai.cn/'
,
},
devCDNURL
:
'http://dev.fs.wxpai.cn/'
sessionStore
:
{
},
password
:
'future123456'
,
sessionStore
:
{
port
:
6379
,
password
:
'a39131f8d598429f:GuangZhouhdp123'
,
host
:
'10.168.27.179'
,
port
:
6379
,
db
:
2
host
:
'a39131f8d598429f.m.cnhza.kvstore.aliyuncs.com'
,
}
db
:
2
}
}
}
};
};
module
.
exports
=
config
[
env
];
module
.
exports
=
config
[
env
];
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment