Verified Commit 5289fa6b authored by Jelle van der Waa's avatar Jelle van der Waa 🚧
Browse files

Remove obsolete sequelizerc configuration file

In hedgedoc 1.8.0 sequelizerc is no longer required to as the
config.json file is used to read out the database settings.
parent ee471d3a
Pipeline #6968 passed with stage
in 41 seconds
......@@ -32,8 +32,5 @@
- name: install hedgedoc config file
template: src=config.json.j2 dest=/etc/webapps/hedgedoc/config.json owner=root group=root mode=0644
- name: install hedgedoc sequelizerc file
template: src=sequelizerc.j2 dest=/etc/webapps/hedgedoc/sequelizerc owner=root group=root mode=0644
- name: start and enable hedgedoc
service: name=hedgedoc.service enabled=yes state=started
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://hedgedoc:{{ vault_postgres_users.hedgedoc }}@localhost:5432/hedgedoc'
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment