2023-12-19 03:29:26 +01:00
|
|
|
version: '3.8'
|
2022-05-20 01:30:47 +02:00
|
|
|
|
2023-12-19 03:29:26 +01:00
|
|
|
name: 'immich-test-e2e'
|
2023-10-06 23:32:28 +02:00
|
|
|
|
2022-05-20 01:30:47 +02:00
|
|
|
services:
|
2023-10-19 00:02:42 +02:00
|
|
|
immich-server:
|
|
|
|
image: immich-server-dev:latest
|
2022-05-20 01:30:47 +02:00
|
|
|
build:
|
2023-12-19 03:29:26 +01:00
|
|
|
context: ../../
|
2023-11-18 05:13:36 +01:00
|
|
|
dockerfile: server/Dockerfile
|
|
|
|
target: dev
|
2024-01-24 23:24:53 +01:00
|
|
|
command: ['/usr/src/app/bin/immich-test', 'jobs']
|
2022-05-20 01:30:47 +02:00
|
|
|
volumes:
|
|
|
|
- /usr/src/app/node_modules
|
2024-02-29 15:22:25 +01:00
|
|
|
- ../test/assets:/usr/src/app/test/assets:ro
|
2022-05-20 01:30:47 +02:00
|
|
|
environment:
|
2023-10-19 00:02:42 +02:00
|
|
|
- DB_HOSTNAME=database
|
2023-10-06 23:32:28 +02:00
|
|
|
- DB_USERNAME=postgres
|
|
|
|
- DB_PASSWORD=postgres
|
|
|
|
- DB_DATABASE_NAME=e2e_test
|
2024-03-12 06:19:12 +01:00
|
|
|
- IMMICH_METRICS=true
|
2022-05-20 01:30:47 +02:00
|
|
|
depends_on:
|
2023-10-19 00:02:42 +02:00
|
|
|
- database
|
2023-10-06 23:32:28 +02:00
|
|
|
|
2023-10-19 00:02:42 +02:00
|
|
|
database:
|
2024-02-07 03:51:22 +01:00
|
|
|
image: tensorchord/pgvecto-rs:pg14-v0.2.0@sha256:90724186f0a3517cf6914295b5ab410db9ce23190a2d9d0b9dd6463e3fa298f0
|
2024-01-10 05:04:16 +01:00
|
|
|
command: -c fsync=off -c shared_preload_libraries=vectors.so
|
2022-05-20 01:30:47 +02:00
|
|
|
environment:
|
2023-10-06 23:32:28 +02:00
|
|
|
POSTGRES_PASSWORD: postgres
|
|
|
|
POSTGRES_USER: postgres
|
|
|
|
POSTGRES_DB: e2e_test
|
|
|
|
logging:
|
|
|
|
driver: none
|