Add logging & config; update base images

This commit is contained in:
Elton Stoneman
2019-04-06 21:08:10 +01:00
parent cdf9a12c62
commit 68b8cd014c
15 changed files with 153 additions and 22 deletions

View File

@@ -0,0 +1,9 @@
var dbConfig = module.exports = {};
dbConfig.options = {
username: 'sa',
password: 'DockerCon!!!',
host: 'bb-db',
post: 1433,
dbName: 'BulletinBoard'
};

View File

@@ -0,0 +1,10 @@
const winston = require('winston');
var logConfig = module.exports = {};
logConfig.options = {
transports: [
new winston.transports.Console({
level: 'info'
})
]
};