codimd/.sequelizerc.example
BoHong Li 1f5b9813cb
feat: add new dockerfile
Signed-off-by: BoHong Li <raccoon@hackmd.io>
2019-10-07 15:42:03 +08:00

10 lines
282 B
Plaintext

const path = require('path')
const config = require('./lib/config')
module.exports = {
config: path.resolve('config.json'),
'migrations-path': path.resolve('lib', 'migrations'),
'models-path': path.resolve('lib', 'models'),
url: process.env['CMD_DB_URL'] || config.dbURL
}