30 lines
660 B
YAML
30 lines
660 B
YAML
version: '3.9'
|
|
|
|
services:
|
|
postgres:
|
|
image: postgres:15-alpine
|
|
environment:
|
|
POSTGRES_DB: billing_finance_core
|
|
POSTGRES_USER: postgres
|
|
POSTGRES_PASSWORD: postgres
|
|
ports:
|
|
- '5432:5432'
|
|
volumes:
|
|
- postgres_data:/var/lib/postgresql/data
|
|
|
|
billing-finance-core:
|
|
build: .
|
|
environment:
|
|
NODE_ENV: development
|
|
PORT: 3000
|
|
DATABASE_URL: postgresql://postgres:postgres@postgres:5432/billing_finance_core
|
|
JWT_SECRET: change-me
|
|
JWT_ISSUER: identity-gateway
|
|
PAYMENT_WEBHOOK_SECRET: change-me
|
|
ports:
|
|
- '3000:3000'
|
|
depends_on:
|
|
- postgres
|
|
|
|
volumes:
|
|
postgres_data:
|