1
0
forked from infra/ansible
infra/roles/hackmd/templates/_sequelizerc.j2

9 lines
325 B
Django/Jinja

var path = require('path');
module.exports = {
'config': path.resolve('config.json'),
'migrations-path': path.resolve('lib', 'migrations'),
'models-path': path.resolve('lib', 'models'),
'url': 'postgres://{{ hackmd_dbuser }}:{{ hackmd_dbpass }}@localhost:5432/{{ hackmd_dbname }}'
}