All checks were successful
/ build (map[dockerfile:./services/hasura/Dockerfile name:hasura]) (push) Successful in 47s
/ build (map[dockerfile:./services/web/Dockerfile name:web]) (push) Successful in 1m47s
/ build (map[dockerfile:./services/watchers/Dockerfile name:watchers]) (push) Successful in 2m37s
/ build (map[dockerfile:./services/files/Dockerfile name:files]) (push) Successful in 2m52s
/ build (map[dockerfile:./services/api/Dockerfile name:api]) (push) Successful in 3m2s
/ build (map[dockerfile:./services/app/Dockerfile name:app]) (push) Successful in 31s
/ build (map[dockerfile:./services/tasks/Dockerfile name:tasks]) (push) Successful in 2m44s
/ deploy (push) Successful in 48s
60 lines
1.7 KiB
JavaScript
60 lines
1.7 KiB
JavaScript
global.modjoSentryConfig = {
|
|
package: require("../package.json"),
|
|
options: {},
|
|
}
|
|
require("common/sentry/instrument")
|
|
|
|
const modjo = require("@modjo/core")
|
|
// const { ctx } = modjo
|
|
|
|
const customConfig = require(`~/config`)
|
|
|
|
modjo({
|
|
plugins: {
|
|
config: {
|
|
pluginName: "config",
|
|
context: (ctx) => {
|
|
ctx.set("customConfig", customConfig)
|
|
},
|
|
},
|
|
},
|
|
dependencies: {
|
|
microservice: {
|
|
pluginName: "microservice-watcher",
|
|
dependencies: {
|
|
postgres: {},
|
|
sentry: {},
|
|
redisHotGeodata: {
|
|
pluginName: "ioredis",
|
|
context: (ctx) => {
|
|
ctx.set("config", {
|
|
...ctx.get("config"),
|
|
redis: {
|
|
host: process.env.REDIS_HOT_GEODATA_HOST,
|
|
port: process.env.REDIS_HOT_GEODATA_PORT || "6379",
|
|
username: process.env.REDIS_HOT_GEODATA_USERNAME || "default",
|
|
password: process.env.REDIS_HOT_GEODATA_PASSWORD,
|
|
db: process.env.REDIS_HOT_GEODATA_DB || "0",
|
|
},
|
|
})
|
|
},
|
|
},
|
|
keydbColdGeodata: {
|
|
pluginName: "ioredis",
|
|
context: (ctx) => {
|
|
ctx.set("config", {
|
|
...ctx.get("config"),
|
|
redis: {
|
|
host: process.env.KEYDB_COLD_GEODATA_HOST,
|
|
port: process.env.KEYDB_COLD_GEODATA_PORT || "6379",
|
|
username: process.env.KEYDB_COLD_GEODATA_USERNAME || "default",
|
|
password: process.env.KEYDB_COLD_GEODATA_PASSWORD,
|
|
db: process.env.KEYDB_COLD_GEODATA_DB || "0",
|
|
},
|
|
})
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
})
|