2024-02-29 09:26:55 -07:00
|
|
|
version: '3.8'
|
2024-02-13 11:08:49 -07:00
|
|
|
|
|
|
|
name: immich-e2e
|
|
|
|
|
|
|
|
x-server-build: &server-common
|
|
|
|
image: immich-server:latest
|
|
|
|
build:
|
|
|
|
context: ../
|
|
|
|
dockerfile: server/Dockerfile
|
|
|
|
environment:
|
|
|
|
- DB_HOSTNAME=database
|
|
|
|
- DB_USERNAME=postgres
|
|
|
|
- DB_PASSWORD=postgres
|
|
|
|
- DB_DATABASE_NAME=immich
|
|
|
|
- REDIS_HOSTNAME=redis
|
2024-02-19 15:25:57 -07:00
|
|
|
- IMMICH_MACHINE_LEARNING_ENABLED=false
|
2024-03-11 22:19:12 -07:00
|
|
|
- IMMICH_METRICS=true
|
2024-02-13 11:08:49 -07:00
|
|
|
volumes:
|
|
|
|
- upload:/usr/src/app/upload
|
2024-02-29 13:10:08 -07:00
|
|
|
- ../server/test/assets:/data/assets
|
2024-02-13 11:08:49 -07:00
|
|
|
depends_on:
|
|
|
|
- redis
|
|
|
|
- database
|
|
|
|
|
|
|
|
services:
|
|
|
|
immich-server:
|
2024-02-27 12:04:38 -07:00
|
|
|
container_name: immich-e2e-server
|
2024-02-29 09:26:55 -07:00
|
|
|
command: ['./start.sh', 'immich']
|
2024-02-13 11:08:49 -07:00
|
|
|
<<: *server-common
|
|
|
|
ports:
|
|
|
|
- 2283:3001
|
|
|
|
|
2024-02-27 12:04:38 -07:00
|
|
|
immich-microservices:
|
|
|
|
container_name: immich-e2e-microservices
|
2024-02-29 09:26:55 -07:00
|
|
|
command: ['./start.sh', 'microservices']
|
2024-02-27 12:04:38 -07:00
|
|
|
<<: *server-common
|
2024-02-13 11:08:49 -07:00
|
|
|
|
|
|
|
redis:
|
2024-03-21 05:14:44 -07:00
|
|
|
image: redis:6.2-alpine@sha256:3fcb624d83a9c478357f16dc173c58ded325ccc5fd2a4375f3916c04cc579f70
|
2024-02-13 11:08:49 -07:00
|
|
|
|
|
|
|
database:
|
|
|
|
image: tensorchord/pgvecto-rs:pg14-v0.2.0@sha256:90724186f0a3517cf6914295b5ab410db9ce23190a2d9d0b9dd6463e3fa298f0
|
2024-02-19 10:03:51 -07:00
|
|
|
command: -c fsync=off -c shared_preload_libraries=vectors.so
|
2024-02-13 11:08:49 -07:00
|
|
|
environment:
|
|
|
|
POSTGRES_PASSWORD: postgres
|
|
|
|
POSTGRES_USER: postgres
|
|
|
|
POSTGRES_DB: immich
|
|
|
|
ports:
|
2024-02-19 10:03:51 -07:00
|
|
|
- 5433:5432
|
2024-02-13 11:08:49 -07:00
|
|
|
|
|
|
|
volumes:
|
|
|
|
model-cache:
|
|
|
|
upload:
|