mirror of
https://github.com/OneUptime/oneuptime.git
synced 2026-04-06 00:32:12 +02:00
Refactor workflow service and API components
- Removed workflow service from docker-compose files. - Updated environment configuration to remove workflow port. - Implemented new ComponentCodeAPI, ManualAPI, and WorkflowAPI for handling workflow operations. - Created QueueWorkflow service for managing workflow queue operations. - Developed RunWorkflow service to execute workflows with improved error handling and logging. - Added component metadata loading utility for dynamic component management. - Introduced documentation for JavaScript and Webhook components. - Enhanced overall structure and organization of workflow feature set.
This commit is contained in:
@@ -111,26 +111,6 @@ services:
|
||||
dockerfile: ./Worker/Dockerfile
|
||||
|
||||
|
||||
workflow:
|
||||
volumes:
|
||||
- ./Workflow:/usr/src/app:cached
|
||||
# Use node modules of the container and not host system.
|
||||
# https://stackoverflow.com/questions/29181032/add-a-volume-to-docker-but-exclude-a-sub-folder
|
||||
- /usr/src/app/node_modules/
|
||||
- ./Common:/usr/src/Common:cached
|
||||
- /usr/src/Common/node_modules/
|
||||
extends:
|
||||
file: ./docker-compose.base.yml
|
||||
service: workflow
|
||||
depends_on:
|
||||
<<: *common-depends-on
|
||||
ports:
|
||||
- '8735:9229' # Debugging port.
|
||||
build:
|
||||
network: host
|
||||
context: .
|
||||
dockerfile: ./Workflow/Dockerfile
|
||||
|
||||
app:
|
||||
volumes:
|
||||
- ./App:/usr/src/app:cached
|
||||
|
||||
Reference in New Issue
Block a user