refactor workflow

This commit is contained in:
Simon Larsen
2024-09-16 15:22:15 -07:00
parent 1fefa11f35
commit 6aa9895e72
39 changed files with 6271 additions and 25 deletions

View File

@@ -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