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: