diff options
author | Kumar Rishabh <shailrishabh@gmail.com> | 2017-03-28 01:14:31 +0530 |
---|---|---|
committer | Kumar Rishabh <shailrishabh@gmail.com> | 2017-03-28 01:26:20 +0530 |
commit | b3e815f76055b4a5743cbcecf79bf2a266a2aa9b (patch) | |
tree | 7d343531252e3eb60dc4d36bd51590f0ee19f59f /utils/test/vnfcatalogue/helpers/migrate.js | |
parent | 2bfc153956db44a47d4c58fa4bc4afc1c3b8a701 (diff) |
Add docker-compose files and requirements
This adds docker-compose file to define a multi-container
vnf_catalogue service alongwith helper service to migrate the schema.
Requires docker-compose installation
To run :: docker-compose up
The webapp by default would be accessible at ip_address:3000
Change-Id: I32daf7f76fb1d82116545187395cd96535c94541
Signed-off-by: Kumar Rishabh <shailrishabh@gmail.com>
Diffstat (limited to 'utils/test/vnfcatalogue/helpers/migrate.js')
-rw-r--r-- | utils/test/vnfcatalogue/helpers/migrate.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/utils/test/vnfcatalogue/helpers/migrate.js b/utils/test/vnfcatalogue/helpers/migrate.js index d884d9c68..3f4d892dc 100644 --- a/utils/test/vnfcatalogue/helpers/migrate.js +++ b/utils/test/vnfcatalogue/helpers/migrate.js @@ -10,10 +10,10 @@ var knex = require('knex')({ client: 'mysql', connection: { - host : 'localhost', - user : 'myuser', - password : 'mypassword', - database : 'vnf_catalogue', + host : process.env.DB_HOST, + user : process.env.DB_USER, + password : process.env.DB_PASSWORD, + database : process.env.DB_DATABASE, charset : 'utf8' } }); |