mirror of
https://github.com/immich-app/immich.git
synced 2024-12-28 06:31:58 +00:00
e6d30d72fa
* fix: remove config parameter from typeorm cli and update config the config parameter is no longer supported since version 0.3 the config now needs to export a DataSource object to work with the 0.3 cli * fix: update all typeorm entities and migrations to be aligned with database structure * Fixed test-util import databaseConfig * Fixed column mismatch in raw query with new migration * Remove dist build directory when starting dev server Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
20 lines
No EOL
882 B
Makefile
20 lines
No EOL
882 B
Makefile
dev:
|
|
rm -rf ./server/dist && docker-compose -f ./docker/docker-compose.dev.yml up --remove-orphans
|
|
|
|
dev-update:
|
|
rm -rf ./server/dist && docker-compose -f ./docker/docker-compose.dev.yml up --build -V --remove-orphans
|
|
|
|
dev-scale:
|
|
rm -rf ./server/dist && 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
|