# 开发数据库:pnpm db:up / docker compose -f docker-compose.dev.yml up -d name: umt-dev services: postgres: image: postgres:16-alpine restart: unless-stopped environment: POSTGRES_USER: umt POSTGRES_PASSWORD: umt POSTGRES_DB: umt ports: - "127.0.0.1:55433:5432" volumes: - umt-pg-data:/var/lib/postgresql/data healthcheck: test: ["CMD-SHELL", "pg_isready -U umt -d umt"] interval: 5s timeout: 3s retries: 20 volumes: umt-pg-data: