mirror of
https://github.com/OneUptime/oneuptime.git
synced 2026-04-06 00:32:12 +02:00
refactor workflow
This commit is contained in:
@@ -196,6 +196,25 @@ services:
|
||||
context: .
|
||||
dockerfile: ./Worker/Dockerfile
|
||||
|
||||
|
||||
workflow:
|
||||
volumes:
|
||||
- ./Workflow:/usr/src/app
|
||||
# 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
|
||||
- /usr/src/Common/node_modules/
|
||||
extends:
|
||||
file: ./docker-compose.base.yml
|
||||
service: workflow
|
||||
ports:
|
||||
- '8735:9229' # Debugging port.
|
||||
build:
|
||||
network: host
|
||||
context: .
|
||||
dockerfile: ./Workflow/Dockerfile
|
||||
|
||||
app:
|
||||
volumes:
|
||||
- ./App:/usr/src/app
|
||||
|
||||
Reference in New Issue
Block a user