mirror of
https://github.com/immich-app/immich.git
synced 2024-12-22 01:47:08 +02:00
0aaeab124d
* build: add typesense to docker * feat(server): typesense search * feat(web): search * fix(web): show api error response message * chore: search tests * chore: regenerate open api * fix: disable typesense on e2e * fix: number properties for open api (dart) * fix: e2e test * fix: change lat/lng from floats to typesense geopoint * dev: Add smartInfo relation to findAssetById to be able to query against it --------- Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
48 lines
1.0 KiB
YAML
48 lines
1.0 KiB
YAML
version: "3.8"
|
|
|
|
services:
|
|
immich-server-test:
|
|
image: immich-server-test
|
|
build:
|
|
context: ../server
|
|
dockerfile: Dockerfile
|
|
target: builder
|
|
command: npm run test:e2e
|
|
expose:
|
|
- "3000"
|
|
volumes:
|
|
- ../server:/usr/src/app
|
|
- /usr/src/app/node_modules
|
|
env_file:
|
|
- .env.test
|
|
environment:
|
|
- NODE_ENV=development
|
|
- TYPESENSE_ENABLED=false
|
|
depends_on:
|
|
- immich-redis-test
|
|
- immich-database-test
|
|
networks:
|
|
- immich-test-network
|
|
immich-redis-test:
|
|
container_name: immich-redis-test
|
|
image: redis:6.2
|
|
networks:
|
|
- immich-test-network
|
|
immich-database-test:
|
|
container_name: immich-database-test
|
|
image: postgres:14
|
|
env_file:
|
|
- .env.test
|
|
environment:
|
|
POSTGRES_PASSWORD: ${DB_PASSWORD}
|
|
POSTGRES_USER: ${DB_USERNAME}
|
|
POSTGRES_DB: ${DB_DATABASE_NAME}
|
|
PG_DATA: /var/lib/postgresql/data
|
|
volumes:
|
|
- /var/lib/postgresql/data
|
|
networks:
|
|
- immich-test-network
|
|
|
|
networks:
|
|
immich-test-network:
|