Add NATS account-balance SoT and statement review for customers, CS, and sales
Some checks are pending
offline / test (push) Waiting to run
Some checks are pending
offline / test (push) Waiting to run
Internal billing now uses verae.billing.* request-reply and pubs. zappier-account-balance tracks prepaid, credits, usage, and payments. Portal, admin, CS, and sales all review the same statement. Independent Forgejo repos stay split via push-module-repos.
This commit is contained in:
parent
a1a5b957fd
commit
ac38676645
135 changed files with 3078 additions and 130 deletions
|
|
@ -50,8 +50,24 @@ services:
|
|||
environment:
|
||||
PORT: "3000"
|
||||
ZAPPIER_UPSTREAM: http://middleware:3100
|
||||
NATS_URL: nats://nats1:4222
|
||||
ports:
|
||||
- "3000:3000"
|
||||
depends_on: [nats1, account-balance]
|
||||
|
||||
account-balance:
|
||||
<<: *node
|
||||
image: node:22-alpine
|
||||
working_dir: /app
|
||||
volumes:
|
||||
- ${MONOREPO:-..}/packages/zappier-account-balance:/app
|
||||
command: ["node", "src/server.js"]
|
||||
environment:
|
||||
PORT: "3010"
|
||||
NATS_URL: nats://nats1:4222
|
||||
ports:
|
||||
- "3010:3010"
|
||||
depends_on: [nats1]
|
||||
|
||||
customer-service:
|
||||
<<: *node
|
||||
|
|
@ -63,9 +79,11 @@ services:
|
|||
environment:
|
||||
PORT: "3011"
|
||||
ZAPPIER_ADMIN_URL: http://zappier-edge:3000
|
||||
ACCOUNT_BALANCE_URL: http://account-balance:3010
|
||||
NATS_URL: nats://nats1:4222
|
||||
ports:
|
||||
- "3011:3011"
|
||||
depends_on: [zappier-edge]
|
||||
depends_on: [zappier-edge, account-balance, nats1]
|
||||
|
||||
sales-pricing:
|
||||
<<: *node
|
||||
|
|
@ -77,9 +95,11 @@ services:
|
|||
environment:
|
||||
PORT: "3012"
|
||||
ZAPPIER_ADMIN_URL: http://zappier-edge:3000
|
||||
ACCOUNT_BALANCE_URL: http://account-balance:3010
|
||||
NATS_URL: nats://nats1:4222
|
||||
ports:
|
||||
- "3012:3012"
|
||||
depends_on: [zappier-edge]
|
||||
depends_on: [zappier-edge, account-balance, nats1]
|
||||
|
||||
accounting-export:
|
||||
<<: *node
|
||||
|
|
@ -91,9 +111,11 @@ services:
|
|||
environment:
|
||||
PORT: "3013"
|
||||
ZAPPIER_ADMIN_URL: http://zappier-edge:3000
|
||||
ACCOUNT_BALANCE_URL: http://account-balance:3010
|
||||
NATS_URL: nats://nats1:4222
|
||||
ports:
|
||||
- "3013:3013"
|
||||
depends_on: [zappier-edge]
|
||||
depends_on: [zappier-edge, account-balance, nats1]
|
||||
|
||||
middleware:
|
||||
<<: *node
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue