Files
chpark 4c1dc4082e
Build and Push Images / build-and-push (push) Has been cancelled
feat: Fleet/Collector/엣지 배포 관련 누적 작업 일괄 커밋
이전 세션들에서 작업된 아래 범위를 모두 포함:

Fleet 서브시스템 (src/fleet/)
- fleetDeviceService / fleetCommandService / fleetDeploymentService / fleetReleaseService
- fleetMetricsService, fleetScriptService, fleetEdgeConfigService
- Edge 디바이스 관리, 커맨드 발행, 배포/릴리스, 스크립트 동기화

Collector 확장
- centralMqttForwarder / centralForwarderConfigService
- equipmentStateService, pythonHookRunner, scriptCache
- Modbus/OPC-UA/S7/XGT 프로토콜 클라이언트
- targetDbIntrospection (저장 DB 조회)

Routes / API
- automationDashboardRoutes, centralForwarderRoutes, equipmentStateRoutes

DB
- importEdgeConfig (Python cached config → Pipeline DB)
- seedDataSources (external_db_connections 초기 시드)

엣지 배포 리소스
- docker/edge/Dockerfile.backend.prod, Dockerfile.frontend.prod
- docker/edge/docker-compose.edge.yml

프론트엔드
- admin/automaticMng (centralForwarder, dashboard, equipmentState)
- admin/fleet (commands, devices, deployments, releases, scripts, alerts)
- admin/pipeline-device 개선 (저장 DB 드롭다운, 태그 매핑 등)
- ExternalDbConnectionModal, ScriptsManagerDialog 등 신규 컴포넌트
- lib/api: automationDashboard, centralForwarder, equipmentState, fleet

docs/
- EDGE_SERVER_STRUCTURE, FLEET_COMPLETE, FLEET_EDGE_INTEGRATION, FLEET_HOOK_INTEGRATION

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-23 20:00:06 +09:00

26 lines
1.5 KiB
Bash

# ============================================================
# Pipeline Edge 환경변수 예제 (이 파일을 .env로 복사 후 채우세요)
# ============================================================
# ─── DB 연결 ─────────────────────────────────────────
# 옵션 A: IDC 중앙 PostgreSQL 사용 (간단, 네트워크 의존)
DATABASE_URL=postgresql://vexplor_pipeline_user:pipline0909!!@211.115.91.170:11141/vexplor_pipeline
# 옵션 B: 엣지 로컬 PostgreSQL 쓰려면 같은 compose에 postgres 서비스 추가 후:
# DATABASE_URL=postgresql://pipeline:password@postgres:5432/pipeline
# ─── 보안 (반드시 바꿀 것) ───────────────────────────
JWT_SECRET=change-me-to-strong-random-secret-at-least-32-chars
PASSWORD_ENCRYPTION_KEY=change-me-32-byte-hex-key-for-aes-256
# ─── 엣지 식별 ───────────────────────────────────────
# 고객사 코드
COMPANY_CODE=spifox
# 엣지 UUID (스피폭스 예: aff81fbf-9b4c-43e0-9395-566bf47c3f9c)
EDGE_ID=aff81fbf-9b4c-43e0-9395-566bf47c3f9c
# ─── Pipeline 이미지 (Harbor 경로) ───────────────────
PIPELINE_IMAGE=harbor.wace.me/vexplor_fleet/pipeline-backend:latest
PIPELINE_FRONT_IMAGE=harbor.wace.me/vexplor_fleet/pipeline-front:latest