Skip to content

Commit 8737955

Browse files
authored
updated bull-mq port & engineTier in health check response (#544)
* updated bull-mq port & engineTier in health check response * updates
1 parent 0e2c0ea commit 8737955

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

docker-compose-infra.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ services:
3434
image: deadly0/bull-board:latest
3535
restart: always
3636
ports:
37-
- 3000:3000
37+
- 3333:3000
3838
environment:
3939
REDIS_HOST: redis
4040
REDIS_PORT: 6379

src/server/routes/system/health.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ type EngineFeature = "KEYPAIR_AUTH" | "CONTRACT_SUBSCRIPTIONS";
1010
const ReplySchemaOk = Type.Object({
1111
status: Type.String(),
1212
engineVersion: Type.Optional(Type.String()),
13+
engineTier: Type.Optional(Type.String()),
1314
features: Type.Array(
1415
Type.Union([
1516
Type.Literal("KEYPAIR_AUTH"),
@@ -52,6 +53,7 @@ export async function healthCheck(fastify: FastifyInstance) {
5253
res.status(StatusCodes.OK).send({
5354
status: "OK",
5455
engineVersion: process.env.ENGINE_VERSION,
56+
engineTier: process.env.ENGINE_TIER ?? "SELF_HOSTED",
5557
features: getFeatures(),
5658
});
5759
},

0 commit comments

Comments
 (0)