mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-05-02 15:52:34 +00:00
Add standalone deployment tools for CrewAI workflows (fixes #2438)
Co-Authored-By: Joe Moura <joao@crewai.com>
This commit is contained in:
28
src/crewai/deployment/templates/deployment.yaml
Normal file
28
src/crewai/deployment/templates/deployment.yaml
Normal file
@@ -0,0 +1,28 @@
|
||||
# CrewAI Deployment Configuration
|
||||
name: my-crewai-app
|
||||
port: 8000
|
||||
|
||||
# Crews configuration
|
||||
crews:
|
||||
- name: research_crew
|
||||
module_path: ./crews/research_crew.py
|
||||
class_name: ResearchCrew
|
||||
|
||||
- name: analysis_crew
|
||||
module_path: ./crews/analysis_crew.py
|
||||
class_name: AnalysisCrew
|
||||
|
||||
# Flows configuration
|
||||
flows:
|
||||
- name: data_processing_flow
|
||||
module_path: ./flows/data_processing_flow.py
|
||||
class_name: DataProcessingFlow
|
||||
|
||||
- name: reporting_flow
|
||||
module_path: ./flows/reporting_flow.py
|
||||
class_name: ReportingFlow
|
||||
|
||||
# Additional configuration
|
||||
environment:
|
||||
- OPENAI_API_KEY=${OPENAI_API_KEY}
|
||||
- CREWAI_LOG_LEVEL=INFO
|
||||
Reference in New Issue
Block a user