name: immich-e2e services: immich-server: container_name: immich-e2e-server command: ['./start.sh'] image: immich-server:latest build: context: ../ dockerfile: server/Dockerfile args: - BUILD_ID=1234567890 - BUILD_IMAGE=e2e - BUILD_SOURCE_REF=e2e - BUILD_SOURCE_COMMIT=e2eeeeeeeeeeeeeeeeee environment: - DB_HOSTNAME=database - DB_USERNAME=postgres - DB_PASSWORD=postgres - DB_DATABASE_NAME=immich - IMMICH_MACHINE_LEARNING_ENABLED=false - IMMICH_METRICS=true - IMMICH_ENV=testing volumes: - ./test-assets:/test-assets extra_hosts: - 'auth-server:host-gateway' depends_on: - redis - database ports: - 2285:3001 redis: image: redis:6.2-alpine@sha256:2d1463258f2764328496376f5d965f20c6a67f66ea2b06dc42af351f75248792 database: image: tensorchord/pgvecto-rs:pg14-v0.2.0@sha256:90724186f0a3517cf6914295b5ab410db9ce23190a2d9d0b9dd6463e3fa298f0 command: -c fsync=off -c shared_preload_libraries=vectors.so environment: POSTGRES_PASSWORD: postgres POSTGRES_USER: postgres POSTGRES_DB: immich ports: - 5435:5432