2024-02-13 13:08:49 -05:00
|
|
|
name: immich-e2e
|
|
|
|
|
|
|
|
|
|
services:
|
|
|
|
|
immich-server:
|
2024-02-27 14:04:38 -05:00
|
|
|
container_name: immich-e2e-server
|
2024-05-17 14:44:30 +01:00
|
|
|
image: immich-server:latest
|
|
|
|
|
build:
|
|
|
|
|
context: ../
|
|
|
|
|
dockerfile: server/Dockerfile
|
2024-06-26 08:25:09 -04:00
|
|
|
args:
|
|
|
|
|
- BUILD_ID=1234567890
|
|
|
|
|
- BUILD_IMAGE=e2e
|
|
|
|
|
- BUILD_SOURCE_REF=e2e
|
|
|
|
|
- BUILD_SOURCE_COMMIT=e2eeeeeeeeeeeeeeeeee
|
2024-05-17 14:44:30 +01:00
|
|
|
environment:
|
|
|
|
|
- DB_HOSTNAME=database
|
|
|
|
|
- DB_USERNAME=postgres
|
|
|
|
|
- DB_PASSWORD=postgres
|
|
|
|
|
- DB_DATABASE_NAME=immich
|
|
|
|
|
- IMMICH_MACHINE_LEARNING_ENABLED=false
|
2024-10-29 15:20:32 -04:00
|
|
|
- IMMICH_TELEMETRY_INCLUDE=all
|
2024-07-01 18:43:16 +01:00
|
|
|
- IMMICH_ENV=testing
|
2024-10-09 16:01:52 -04:00
|
|
|
- IMMICH_PORT=2285
|
2024-10-10 10:42:59 +02:00
|
|
|
- IMMICH_IGNORE_MOUNT_CHECK_ERRORS=true
|
2024-05-17 14:44:30 +01:00
|
|
|
volumes:
|
|
|
|
|
- ./test-assets:/test-assets
|
2024-07-11 07:55:00 -04:00
|
|
|
extra_hosts:
|
|
|
|
|
- 'auth-server:host-gateway'
|
2024-05-17 14:44:30 +01:00
|
|
|
depends_on:
|
2025-06-04 22:32:29 -04:00
|
|
|
redis:
|
|
|
|
|
condition: service_started
|
|
|
|
|
database:
|
|
|
|
|
condition: service_healthy
|
2024-02-13 13:08:49 -05:00
|
|
|
ports:
|
2024-10-09 16:01:52 -04:00
|
|
|
- 2285:2285
|
2024-02-13 13:08:49 -05:00
|
|
|
|
|
|
|
|
redis:
|
2025-07-22 10:57:58 +01:00
|
|
|
image: redis:6.2-alpine@sha256:7fe72c486b910f6b1a9769c937dad5d63648ddee82e056f47417542dd40825bb
|
2024-02-13 13:08:49 -05:00
|
|
|
|
|
|
|
|
database:
|
2025-08-26 11:07:27 +02:00
|
|
|
image: ghcr.io/immich-app/postgres:14-vectorchord0.3.0@sha256:7a4469b9484e37bf2630a60bc2f02f086dae898143b599ecc1c93f619849ef6b
|
2025-05-20 09:36:43 -04:00
|
|
|
command: -c fsync=off -c shared_preload_libraries=vchord.so -c config_file=/var/lib/postgresql/data/postgresql.conf
|
2024-02-13 13:08:49 -05:00
|
|
|
environment:
|
|
|
|
|
POSTGRES_PASSWORD: postgres
|
|
|
|
|
POSTGRES_USER: postgres
|
|
|
|
|
POSTGRES_DB: immich
|
|
|
|
|
ports:
|
2024-08-30 14:04:02 +02:00
|
|
|
- 5435:5432
|
2025-06-04 22:32:29 -04:00
|
|
|
healthcheck:
|
|
|
|
|
test: ['CMD-SHELL', 'pg_isready -U postgres -d immich']
|
|
|
|
|
interval: 1s
|
|
|
|
|
timeout: 5s
|
|
|
|
|
retries: 30
|
|
|
|
|
start_period: 10s
|