- Next.js 14 (TS, App Router) monolith - Request entity (Draft state) via Prisma + Postgres, validated with Zod - ESLint configured - Tailwind v4 + shadcn/ui (new-york-v4 style) - Vitest test suite (6 tests, runs against throwaway Postgres DB per file) - Multi-agent dev workflow docs in CLAUDE.md and .claude/agents/
25 lines
777 B
YAML
25 lines
777 B
YAML
services:
|
|
db:
|
|
image: postgres:16-alpine
|
|
container_name: asset-license-mgmt-db
|
|
volumes:
|
|
- asset-license-mgmt-db-data:/var/lib/postgresql/data
|
|
environment:
|
|
- POSTGRES_DB=asset_license_mgmt
|
|
- POSTGRES_USER=asset_license_mgmt
|
|
- POSTGRES_PASSWORD=change-me-local-dev
|
|
# No host port published (same convention as xibo's cms-db) — this host
|
|
# already runs other projects' Postgres containers on 5432. Reach this
|
|
# service from other containers via the `asset-license-mgmt-net`
|
|
# network and the `db` hostname instead (see .env.example / CLAUDE.md).
|
|
restart: unless-stopped
|
|
networks:
|
|
- asset-license-mgmt
|
|
|
|
networks:
|
|
asset-license-mgmt:
|
|
name: asset-license-mgmt-net
|
|
|
|
volumes:
|
|
asset-license-mgmt-db-data:
|