Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
m4lab_tv1
Project Page
Commits
3830b183
Commit
3830b183
authored
5 years ago
by
Rosanny Sihombing
Browse files
Options
Download
Email Patches
Plain Diff
define different configuration for DEVEL, TEST AND PRODUCTION
parent
b433d67c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
config/config.js
+31
-3
config/config.js
with
31 additions
and
3 deletions
+31
-3
config/config.js
+
31
-
3
View file @
3830b183
...
@@ -14,12 +14,10 @@ module.exports = {
...
@@ -14,12 +14,10 @@ module.exports = {
}
}
},
},
database
:
{
database
:
{
//host: 'transfer.hft-stuttgart.de', // DB host
user
:
'
DBManager
'
,
// DB username
user
:
'
DBManager
'
,
// DB username
password
:
'
Stuttgart2019
'
,
// DB password
password
:
'
Stuttgart2019
'
,
// DB password
port
:
3306
,
// MySQL port
port
:
3306
,
// MySQL port
dbUser
:
'
userdb
'
,
// User DB
dbUser
:
'
userdb
'
,
// User DB
//host_project: 'm4lab.hft-stuttgart.de', // DB host project db
host_project
:
'
localhost
'
,
// local
host_project
:
'
localhost
'
,
// local
dbProject
:
'
projectDB
'
// Project DB
dbProject
:
'
projectDB
'
// Project DB
},
},
...
@@ -34,7 +32,37 @@ module.exports = {
...
@@ -34,7 +32,37 @@ module.exports = {
}
}
},
},
test
:
{
test
:
{
// to be defined
app
:
{
name
:
'
Project Page Manager
'
,
port
:
process
.
env
.
PORT
||
8888
},
passport
:
{
strategy
:
'
saml
'
,
saml
:
{
path
:
process
.
env
.
SAML_PATH
||
'
/saml/SSO
'
,
entryPoint
:
process
.
env
.
SAML_ENTRY_POINT
||
'
https://m4lab.hft-stuttgart.de/idp/saml2/idp/SSOService.php
'
,
issuer
:
'
sp-project-testing.m4lab.hft-stuttgart.de
'
,
logoutUrl
:
'
https://m4lab.hft-stuttgart.de/idp/saml2/idp/SingleLogoutService.php
'
}
},
database
:
{
host
:
'
transfer.hft-stuttgart.de
'
,
// DB host
user
:
'
DBManager
'
,
// DB username
password
:
'
Stuttgart2019
'
,
// DB password
port
:
3306
,
// MySQL port
dbUser
:
'
userdb
'
,
// User DB
host_project
:
'
m4lab.hft-stuttgart.de
'
,
// DB host project db
dbProject
:
'
projectDB
'
// Project DB
},
mailer
:
{
host
:
'
mail.hft-stuttgart.de
'
,
// hostname
secureConnection
:
false
,
// TLS requires secureConnection to be false
port
:
587
,
// port for secure SMTP
authUser
:
'
ad
\\
support-transfer
'
,
authPass
:
'
6laumri2
'
,
tlsCiphers
:
'
SSLv3
'
,
from
:
'
support-transfer@hft-stuttgart.de
'
,
}
},
},
production
:
{
production
:
{
// to be defined
// to be defined
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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
Menu
Explore
Projects
Groups
Snippets