services: firecal: build: . ports: - "3000:3000" volumes: # 持久化数据目录 - ./data:/app/data environment: - NODE_ENV=production restart: unless-stopped healthcheck: test: ["CMD-SHELL", "curl -f http://localhost:3000/api/health || exit 1"] interval: 30s timeout: 10s retries: 5 start_period: 40s