2023-03-03 02:47:08 +00:00
|
|
|
version: "3.8"
|
2022-05-19 23:30:47 +00:00
|
|
|
|
2023-10-18 22:02:42 +00:00
|
|
|
name: "immich-test-e2e"
|
2023-10-06 21:32:28 +00:00
|
|
|
|
2022-05-19 23:30:47 +00:00
|
|
|
services:
|
2023-10-18 22:02:42 +00:00
|
|
|
immich-server:
|
|
|
|
image: immich-server-dev:latest
|
2022-05-19 23:30:47 +00:00
|
|
|
build:
|
2023-11-18 04:13:36 +00:00
|
|
|
context: ../
|
|
|
|
dockerfile: server/Dockerfile
|
|
|
|
target: dev
|
2022-11-11 04:22:17 +00:00
|
|
|
command: npm run test:e2e
|
2022-05-19 23:30:47 +00:00
|
|
|
volumes:
|
|
|
|
- ../server:/usr/src/app
|
|
|
|
- /usr/src/app/node_modules
|
|
|
|
environment:
|
2023-10-18 22:02:42 +00:00
|
|
|
- DB_HOSTNAME=database
|
2023-10-06 21:32:28 +00:00
|
|
|
- DB_USERNAME=postgres
|
|
|
|
- DB_PASSWORD=postgres
|
|
|
|
- DB_DATABASE_NAME=e2e_test
|
|
|
|
- IMMICH_RUN_ALL_TESTS=true
|
2022-05-19 23:30:47 +00:00
|
|
|
depends_on:
|
2023-10-18 22:02:42 +00:00
|
|
|
- database
|
2023-10-06 21:32:28 +00:00
|
|
|
|
2023-10-18 22:02:42 +00:00
|
|
|
database:
|
2023-12-08 19:38:45 +00:00
|
|
|
image: tensorchord/pgvecto-rs:pg14-v0.1.11@sha256:0335a1a22f8c5dd1b697f14f079934f5152eaaa216c09b61e293be285491f8ee
|
2022-05-19 23:30:47 +00:00
|
|
|
environment:
|
2023-10-06 21:32:28 +00:00
|
|
|
POSTGRES_PASSWORD: postgres
|
|
|
|
POSTGRES_USER: postgres
|
|
|
|
POSTGRES_DB: e2e_test
|
|
|
|
logging:
|
|
|
|
driver: none
|