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