# 情绪博物馆 - 服务管理配置文件 # Emotion Museum - Service Management Configuration services: backend: name: "后端服务" dir: "backend-single" type: "java" port: 19089 health_check_path: "/actuator/health" start_cmd: "mvn spring-boot:run" build_cmd: "mvn clean package -DskipTests" build_check: "target/emotion-single-1.0.0.jar" lock_file: "pom.xml" pid_file: ".pid" log_file: "logs/emotion-single-local.log" depends_on: [] env: SPRING_PROFILES_ACTIVE: "local" web: name: "用户前端" dir: "web" type: "node" port: 5173 health_check_path: "/" start_cmd: "npm run dev" install_cmd: "npm install" install_check: "node_modules" lock_file: "package-lock.json" pid_file: ".pid" depends_on: ["backend"] web-admin: name: "管理后台" dir: "web-admin" type: "node" port: 5174 health_check_path: "/" start_cmd: "npm run dev" install_cmd: "npm install" install_check: "node_modules" lock_file: "package-lock.json" pid_file: ".pid" depends_on: ["backend"] mini-program: name: "小程序 H5" dir: "mini-program" type: "node" port: 5175 health_check_path: "/" start_cmd: "npm run dev:h5" install_cmd: "npm install" install_check: "node_modules" lock_file: "package-lock.json" pid_file: ".pid" log_file: "logs/dev-h5.log" depends_on: ["backend"]