mirror of
https://github.com/immich-app/immich.git
synced 2024-12-29 15:11:58 +00:00
chore: microservices debugger (#2345)
* chore: microservices debugger * Update launch.json
This commit is contained in:
parent
c4f5dc6d01
commit
1e97407025
2 changed files with 12 additions and 1 deletions
9
.vscode/launch.json
vendored
9
.vscode/launch.json
vendored
|
@ -9,6 +9,15 @@
|
||||||
"name": "Immich Server",
|
"name": "Immich Server",
|
||||||
"remoteRoot": "/usr/src/app",
|
"remoteRoot": "/usr/src/app",
|
||||||
"localRoot": "${workspaceFolder}/server"
|
"localRoot": "${workspaceFolder}/server"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "node",
|
||||||
|
"request": "attach",
|
||||||
|
"restart": true,
|
||||||
|
"port": 9231,
|
||||||
|
"name": "Immich Microservices",
|
||||||
|
"remoteRoot": "/usr/src/app",
|
||||||
|
"localRoot": "${workspaceFolder}/server"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
@ -53,13 +53,15 @@ services:
|
||||||
context: ../server
|
context: ../server
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
target: builder
|
target: builder
|
||||||
command: npm run start:dev microservices
|
command: npm run start:debug microservices
|
||||||
volumes:
|
volumes:
|
||||||
- ../server:/usr/src/app
|
- ../server:/usr/src/app
|
||||||
- ${UPLOAD_LOCATION}:/usr/src/app/upload
|
- ${UPLOAD_LOCATION}:/usr/src/app/upload
|
||||||
- /usr/src/app/node_modules
|
- /usr/src/app/node_modules
|
||||||
env_file:
|
env_file:
|
||||||
- .env
|
- .env
|
||||||
|
ports:
|
||||||
|
- 9231:9230
|
||||||
environment:
|
environment:
|
||||||
- NODE_ENV=development
|
- NODE_ENV=development
|
||||||
depends_on:
|
depends_on:
|
||||||
|
|
Loading…
Reference in a new issue