mirror of
https://github.com/mmumshad/ansible-playable.git
synced 2025-02-12 16:41:57 +00:00
Add environment variable for DB and Script Engine
This commit is contained in:
parent
a81a72ed3c
commit
b9850d4ac5
2 changed files with 4 additions and 4 deletions
|
@ -7,7 +7,7 @@ module.exports = {
|
|||
|
||||
// MongoDB connection options
|
||||
mongo: {
|
||||
uri: 'mongodb://db/app2-dev'
|
||||
uri: process.env.MONGODB_URI_DEV || 'mongodb://db/app2-dev'
|
||||
},
|
||||
|
||||
// Seed database on startup
|
||||
|
|
|
@ -4,8 +4,8 @@ exports = module.exports = {
|
|||
// List of user roles
|
||||
userRoles: ['guest', 'user', 'admin'],
|
||||
'scriptEngine' : {
|
||||
'host' : 'localhost',
|
||||
'user' : 'root',
|
||||
'password' : 'P@ssw0rd@123'
|
||||
'host' : process.env.SCRIPT_ENGINE_HOST || 'localhost',
|
||||
'user' : process.env.SCRIPT_ENGINE_USER || 'root',
|
||||
'password' : process.env.SCRIPT_ENGINE_PASSWORD || 'P@ssw0rd@123'
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue