feat(server) add docker debug config for server (#883)

This commit is contained in:
Jason Rasmussen 2022-10-28 21:35:14 -04:00 committed by GitHub
parent b0f10b1851
commit 05e69da5d8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 22 additions and 5 deletions

View file

@ -1,4 +1,4 @@
version: "3.8"
version: '3.8'
services:
immich-server:
@ -7,11 +7,13 @@ services:
context: ../server
dockerfile: Dockerfile
target: builder
command: npm run start:dev immich
command: npm run start:debug immich
volumes:
- ../server:/usr/src/app
- ${UPLOAD_LOCATION}:/usr/src/app/upload
- /usr/src/app/node_modules
ports:
- 9230:9230
env_file:
- .env
environment: