mirror of
https://github.com/immich-app/immich.git
synced 2024-12-27 10:58:13 +02:00
e21c96c0ef
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
54 lines
1.2 KiB
YAML
54 lines
1.2 KiB
YAML
version: '3.8'
|
|
|
|
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
|
|
- IMMICH_MACHINE_LEARNING_ENABLED=false
|
|
- IMMICH_METRICS=true
|
|
volumes:
|
|
- upload:/usr/src/app/upload
|
|
- ../server/test/assets:/data/assets
|
|
depends_on:
|
|
- redis
|
|
- database
|
|
|
|
services:
|
|
immich-server:
|
|
container_name: immich-e2e-server
|
|
command: ['./start.sh', 'immich']
|
|
<<: *server-common
|
|
ports:
|
|
- 2283:3001
|
|
|
|
immich-microservices:
|
|
container_name: immich-e2e-microservices
|
|
command: ['./start.sh', 'microservices']
|
|
<<: *server-common
|
|
|
|
redis:
|
|
image: redis:6.2-alpine@sha256:3fcb624d83a9c478357f16dc173c58ded325ccc5fd2a4375f3916c04cc579f70
|
|
|
|
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:
|
|
- 5433:5432
|
|
|
|
volumes:
|
|
model-cache:
|
|
upload:
|