1
0
mirror of https://github.com/immich-app/immich.git synced 2024-12-24 10:37:28 +02:00

chore: microservices debugger (#2345)

* chore: microservices debugger

* Update launch.json
This commit is contained in:
Jason Rasmussen 2023-04-28 14:21:01 -04:00 committed by GitHub
parent c4f5dc6d01
commit 1e97407025
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 1 deletions

9
.vscode/launch.json vendored
View File

@ -9,6 +9,15 @@
"name": "Immich Server",
"remoteRoot": "/usr/src/app",
"localRoot": "${workspaceFolder}/server"
},
{
"type": "node",
"request": "attach",
"restart": true,
"port": 9231,
"name": "Immich Microservices",
"remoteRoot": "/usr/src/app",
"localRoot": "${workspaceFolder}/server"
}
]
}

View File

@ -53,13 +53,15 @@ services:
context: ../server
dockerfile: Dockerfile
target: builder
command: npm run start:dev microservices
command: npm run start:debug microservices
volumes:
- ../server:/usr/src/app
- ${UPLOAD_LOCATION}:/usr/src/app/upload
- /usr/src/app/node_modules
env_file:
- .env
ports:
- 9231:9230
environment:
- NODE_ENV=development
depends_on: