# Prefect Configuration for DOLPHIN Scan Bridge Daemon # # Usage: # 1. Create deployment: python scan_bridge_deploy.py create # 2. Start worker: prefect worker start --pool dolphin-daemon-pool # name: dolphin-scan-bridge # Build configuration build: - prefect.deployments.steps.set_working_directory: directory: /mnt/dolphinng5_predict/prod # Pull configuration pull: - prefect.deployments.steps.set_working_directory: directory: /mnt/dolphinng5_predict/prod # Deployments deployments: - name: scan-bridge-daemon description: | Long-running daemon that supervises the scan bridge service. Monitors health every 30s and restarts on failure. entrypoint: scan_bridge_prefect_daemon.py:scan_bridge_daemon_flow work_pool: name: dolphin-daemon-pool work_queue_name: default parameters: {} # Schedule - run continuously (no schedule, always on) schedules: [] # Enforcement enforce_parameter_schema: false # Concurrency - only one instance concurrency_limit: 1 # Tags tags: - daemon - infrastructure - scan-bridge - name: scan-bridge-health-check description: | Standalone health check for scan bridge. Can be scheduled independently for monitoring. entrypoint: scan_bridge_prefect_daemon.py:quick_health_check work_pool: name: dolphin-daemon-pool work_queue_name: default parameters: {} schedules: [] # Add schedule here for periodic checks tags: - health-check - monitoring