verae-fleet/services/account-balance.json

31 lines
803 B
JSON

{
"id": "account-balance",
"title": "Account balance (NATS billing SoT)",
"kind": "http",
"package": "zappier-account-balance",
"role": "account-balance",
"managed": true,
"runtime": "HTTP :3010 + NATS verae.billing.*",
"health": { "type": "http", "path": "/health", "timeoutMs": 2000 },
"ports": { "healthBase": 3010 },
"spawn": {
"cwd": "../zappier-account-balance",
"command": "node",
"args": ["src/server.js"]
},
"env": {
"PORT": "3010",
"NATS_URL": "nats://127.0.0.1:4222"
},
"nats": {
"in": [
"verae.billing.statement.get",
"verae.billing.balance.get",
"verae.billing.balance.adjust",
"verae.billing.usage.recorded",
"verae.billing.payment.recorded",
"verae.billing.credit.applied"
],
"out": []
}
}