mirror of
https://github.com/immich-app/immich.git
synced 2024-11-24 08:52:28 +02:00
b359dc3cb6
* WIP fix user e2e tests The e2e tests still don't seem to work due to migrations not running. Changes: - update user.e2e tests to use new `userService.createUser` method - fix server `typeorm` command to use ORM config - update make test-e2e to re-create database volume every time - add User DTO - update auth.service and user.service to use User DTO - update CreateUserDto making optional properties that are optional * Fix migrations - add missing `.ts` extension to migrations path - update user e2e test for the new returned User resource
20 lines
810 B
Makefile
20 lines
810 B
Makefile
dev:
|
|
docker-compose -f ./docker/docker-compose.dev.yml up --remove-orphans
|
|
|
|
dev-update:
|
|
docker-compose -f ./docker/docker-compose.dev.yml up --build -V --remove-orphans
|
|
|
|
dev-scale:
|
|
docker-compose -f ./docker/docker-compose.dev.yml up --build -V --scale immich_server=3 --remove-orphans
|
|
|
|
stage:
|
|
docker-compose -f ./docker/docker-compose.staging.yml up --build -V --remove-orphans
|
|
|
|
test-e2e:
|
|
docker-compose -f ./docker/docker-compose.test.yml --env-file ./docker/.env.test up --renew-anon-volumes --abort-on-container-exit --exit-code-from immich_server_test --remove-orphans
|
|
|
|
prod:
|
|
docker-compose -f ./docker/docker-compose.yml up --build -V --remove-orphans
|
|
|
|
prod-scale:
|
|
docker-compose -f ./docker/docker-compose.yml up --build -V --scale immich_server=3 --scale immich_microservices=3 --remove-orphans
|