All checks were successful
Build Docker Image / build (push) Successful in 1m44s
Replace Python/Django/Graphene with TypeScript/Express/Apollo Server. Same 2 endpoints (team/m2m), same JWT auth, same TigerBeetle integration. Prisma ORM replaces Django ORM for Account/OperationCode/ServiceAccount.
45 lines
1.1 KiB
YAML
45 lines
1.1 KiB
YAML
services:
|
|
billing:
|
|
image: gitea.dsrptlab.com/optovia/billing/billing:latest
|
|
container_name: billing
|
|
restart: unless-stopped
|
|
expose:
|
|
- "8000"
|
|
environment:
|
|
- PORT=8000
|
|
- TB_CLUSTER_ID=0
|
|
- TB_ADDRESS=tigerbeetle:3000
|
|
- BILLING_DATABASE_URL=postgresql://postgres:${BILLING_DB_PASSWORD}@${BILLING_DB_HOST}:5432/postgres
|
|
- LOGTO_JWKS_URL=${LOGTO_JWKS_URL}
|
|
- LOGTO_ISSUER=${LOGTO_ISSUER}
|
|
- LOGTO_BILLING_AUDIENCE=${LOGTO_BILLING_AUDIENCE}
|
|
- SENTRY_DSN=${SENTRY_DSN}
|
|
depends_on:
|
|
- tigerbeetle
|
|
networks:
|
|
dokploy-network:
|
|
aliases:
|
|
- billing
|
|
|
|
tigerbeetle:
|
|
image: ghcr.io/tigerbeetle/tigerbeetle:latest
|
|
container_name: tigerbeetle
|
|
privileged: true
|
|
command: ["start", "--addresses=0.0.0.0:3000", "--development", "/var/lib/tigerbeetle/0_0.tigerbeetle"]
|
|
expose:
|
|
- "3000"
|
|
volumes:
|
|
- tigerbeetle_data:/var/lib/tigerbeetle
|
|
restart: unless-stopped
|
|
networks:
|
|
dokploy-network:
|
|
aliases:
|
|
- tigerbeetle
|
|
|
|
volumes:
|
|
tigerbeetle_data:
|
|
|
|
networks:
|
|
dokploy-network:
|
|
external: true
|