feat: dev docker-compose

This commit is contained in:
Nicolas Giard
2018-08-28 00:23:05 -04:00
parent 4cb9f3d9c6
commit 2483dce941
6 changed files with 95 additions and 6 deletions

View File

@@ -18,6 +18,10 @@ module.exports = {
dataRegex: path.join(WIKI.SERVERPATH, 'app/regex.js')
}
if (process.env.dockerdev) {
confPaths.config = path.join(WIKI.ROOTPATH, 'dev/docker/config.yml')
}
process.stdout.write(chalk.blue(`Loading configuration from ${confPaths.config}... `))
let appconfig = {}