diff --git a/Makefile b/Makefile index 504c02c102..2f9a50517c 100644 --- a/Makefile +++ b/Makefile @@ -4,6 +4,9 @@ dev: dev-new: docker compose -f ./docker/docker-compose.dev.yml up --remove-orphans +dev-down: + docker compose -f ./docker/docker-compose.dev.yml down --remove-orphans + dev-new-update: docker compose -f ./docker/docker-compose.dev.yml up --build -V --remove-orphans diff --git a/docker/docker-compose.dev.yml b/docker/docker-compose.dev.yml index c724eaac53..2d44a1f070 100644 --- a/docker/docker-compose.dev.yml +++ b/docker/docker-compose.dev.yml @@ -21,6 +21,10 @@ services: - .env environment: - NODE_ENV=development + ulimits: + nofile: + soft: 1048576 + hard: 1048576 depends_on: - redis - database @@ -48,6 +52,10 @@ services: - 9231:9230 environment: - NODE_ENV=development + ulimits: + nofile: + soft: 1048576 + hard: 1048576 depends_on: - database - immich-server @@ -73,6 +81,10 @@ services: volumes: - ../web:/usr/src/app - /usr/src/app/node_modules + ulimits: + nofile: + soft: 1048576 + hard: 1048576 restart: unless-stopped depends_on: - immich-server