Merge branch 'master' into feat/filter
This commit is contained in:
commit
21f5fc143e
5 changed files with 8 additions and 2 deletions
|
@ -24,6 +24,7 @@ services:
|
||||||
- NODE_ENV=production
|
- NODE_ENV=production
|
||||||
- GANCIO_DB_DIALECT=mariadb
|
- GANCIO_DB_DIALECT=mariadb
|
||||||
- GANCIO_DB_HOST=db
|
- GANCIO_DB_HOST=db
|
||||||
|
- GANCIO_DB_PORT=3306
|
||||||
- GANCIO_DB_DATABASE=gancio
|
- GANCIO_DB_DATABASE=gancio
|
||||||
- GANCIO_DB_USERNAME=gancio
|
- GANCIO_DB_USERNAME=gancio
|
||||||
- GANCIO_DB_PASSWORD=gancio
|
- GANCIO_DB_PASSWORD=gancio
|
||||||
|
|
|
@ -26,6 +26,7 @@ services:
|
||||||
- NODE_ENV=production
|
- NODE_ENV=production
|
||||||
- GANCIO_DB_DIALECT=postgres
|
- GANCIO_DB_DIALECT=postgres
|
||||||
- GANCIO_DB_HOST=db
|
- GANCIO_DB_HOST=db
|
||||||
|
- GANCIO_DB_PORT=5432
|
||||||
- GANCIO_DB_DATABASE=gancio
|
- GANCIO_DB_DATABASE=gancio
|
||||||
- GANCIO_DB_USERNAME=gancio
|
- GANCIO_DB_USERNAME=gancio
|
||||||
- GANCIO_DB_PASSWORD=gancio
|
- GANCIO_DB_PASSWORD=gancio
|
||||||
|
|
|
@ -51,7 +51,6 @@ module.exports = {
|
||||||
// Doc: https://axios.nuxtjs.org/usage
|
// Doc: https://axios.nuxtjs.org/usage
|
||||||
'@nuxtjs/axios',
|
'@nuxtjs/axios',
|
||||||
'@nuxtjs/auth',
|
'@nuxtjs/auth',
|
||||||
// '@/server/initialize.server.js'
|
|
||||||
],
|
],
|
||||||
|
|
||||||
serverMiddleware: ['server/routes'],
|
serverMiddleware: ['server/routes'],
|
||||||
|
|
|
@ -26,7 +26,10 @@ module.exports = function () {
|
||||||
}
|
}
|
||||||
|
|
||||||
setupController._setupDb(dbConf)
|
setupController._setupDb(dbConf)
|
||||||
.catch(e => { process.exit(1) })
|
.catch(e => {
|
||||||
|
log.warn(String(e))
|
||||||
|
process.exit(1)
|
||||||
|
})
|
||||||
}
|
}
|
||||||
await settingsController.load()
|
await settingsController.load()
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,8 +1,10 @@
|
||||||
const express = require('express')
|
const express = require('express')
|
||||||
const cookieParser = require('cookie-parser')
|
const cookieParser = require('cookie-parser')
|
||||||
|
|
||||||
|
|
||||||
const initialize = require('./initialize.server')
|
const initialize = require('./initialize.server')
|
||||||
initialize()
|
initialize()
|
||||||
|
|
||||||
// const metricsController = require('./metrics')
|
// const metricsController = require('./metrics')
|
||||||
// const promBundle = require('express-prom-bundle')
|
// const promBundle = require('express-prom-bundle')
|
||||||
// const metricsMiddleware = promBundle({ includeMethod: true })
|
// const metricsMiddleware = promBundle({ includeMethod: true })
|
||||||
|
|
Loading…
Reference in a new issue