Skip to content

Commit

Permalink
FS-4942: adding launcher script and docket attach
Browse files Browse the repository at this point in the history
  • Loading branch information
nuwan-samarasinghe committed Jan 3, 2025
1 parent d20f082 commit 9d8d20f
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 4 deletions.
24 changes: 22 additions & 2 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,24 @@
}
]
},
{
"name": "Docker Runner: Form Runner",
"type": "node",
"request": "attach",
"address": "localhost",
"port": 9228,
"localRoot": "${workspaceFolder}/apps/digital-form-builder-adapter/runner",
"remoteRoot": "/usr/src/app/digital-form-builder-adapter/runner"
},
{
"name": "Docker Runner: Form Designer",
"type": "node",
"request": "attach",
"address": "localhost",
"port": 9229,
"localRoot": "${workspaceFolder}/apps/digital-form-builder-adapter/designer",
"remoteRoot": "/usr/src/app/digital-form-builder-adapter/designer"
},
{
"name": "Docker Runner: Pre-Award Stores",
"type": "debugpy",
Expand All @@ -123,7 +141,7 @@
"remoteRoot": "."
}
]
},
}
],
"compounds": [
{
Expand All @@ -136,7 +154,9 @@
"Docker Runner: Pre-Award Frontend",
"Docker Runner: Fund Application Builder",
"Docker Runner: Notification",
"Docker Runner: Pre-Award Stores"
"Docker Runner: Pre-Award Stores",
"Docker Runner: Form Runner",
"Docker Runner: Form Designer"
],
"stopAll": true
}
Expand Down
5 changes: 3 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,10 @@ services:
build:
context: ./apps/digital-form-builder-adapter
dockerfile: ./designer/Dockerfile
command: yarn designer production
command: yarn designer dev
ports:
- 3000:3000
- 9229:9229
volumes:
- './certs:/app-certs'
env_file:
Expand Down Expand Up @@ -149,7 +150,7 @@ services:
build:
context: ./apps/digital-form-builder-adapter
dockerfile: ./runner/Dockerfile
command: yarn runner production
command: yarn runner dev
ports:
- 3009:3009
- 9228:9228
Expand Down

0 comments on commit 9d8d20f

Please sign in to comment.