2024-02-13 18:08:49 +00:00
|
|
|
name: immich-e2e
|
|
|
|
|
|
|
|
services:
|
|
|
|
immich-server:
|
2024-02-27 19:04:38 +00:00
|
|
|
container_name: immich-e2e-server
|
2024-05-17 13:44:30 +00:00
|
|
|
command: ['./start.sh']
|
|
|
|
image: immich-server:latest
|
|
|
|
build:
|
|
|
|
context: ../
|
|
|
|
dockerfile: server/Dockerfile
|
2024-06-26 12:25:09 +00:00
|
|
|
args:
|
|
|
|
- BUILD_ID=1234567890
|
|
|
|
- BUILD_IMAGE=e2e
|
|
|
|
- BUILD_SOURCE_REF=e2e
|
|
|
|
- BUILD_SOURCE_COMMIT=e2eeeeeeeeeeeeeeeeee
|
2024-05-17 13:44:30 +00:00
|
|
|
environment:
|
|
|
|
- DB_HOSTNAME=database
|
|
|
|
- DB_USERNAME=postgres
|
|
|
|
- DB_PASSWORD=postgres
|
|
|
|
- DB_DATABASE_NAME=immich
|
|
|
|
- IMMICH_MACHINE_LEARNING_ENABLED=false
|
2024-10-29 19:20:32 +00:00
|
|
|
- IMMICH_TELEMETRY_INCLUDE=all
|
2024-07-01 17:43:16 +00:00
|
|
|
- IMMICH_ENV=testing
|
2024-10-09 20:01:52 +00:00
|
|
|
- IMMICH_PORT=2285
|
2024-10-10 08:42:59 +00:00
|
|
|
- IMMICH_IGNORE_MOUNT_CHECK_ERRORS=true
|
2024-05-17 13:44:30 +00:00
|
|
|
volumes:
|
|
|
|
- ./test-assets:/test-assets
|
2024-07-11 11:55:00 +00:00
|
|
|
extra_hosts:
|
|
|
|
- 'auth-server:host-gateway'
|
2024-05-17 13:44:30 +00:00
|
|
|
depends_on:
|
|
|
|
- redis
|
|
|
|
- database
|
2024-02-13 18:08:49 +00:00
|
|
|
ports:
|
2024-10-09 20:01:52 +00:00
|
|
|
- 2285:2285
|
2024-02-13 18:08:49 +00:00
|
|
|
|
|
|
|
redis:
|
2024-11-13 12:12:30 +00:00
|
|
|
image: redis:6.2-alpine@sha256:eaba718fecd1196d88533de7ba49bf903ad33664a92debb24660a922ecd9cac8
|
2024-02-13 18:08:49 +00:00
|
|
|
|
|
|
|
database:
|
|
|
|
image: tensorchord/pgvecto-rs:pg14-v0.2.0@sha256:90724186f0a3517cf6914295b5ab410db9ce23190a2d9d0b9dd6463e3fa298f0
|
2024-02-19 17:03:51 +00:00
|
|
|
command: -c fsync=off -c shared_preload_libraries=vectors.so
|
2024-02-13 18:08:49 +00:00
|
|
|
environment:
|
|
|
|
POSTGRES_PASSWORD: postgres
|
|
|
|
POSTGRES_USER: postgres
|
|
|
|
POSTGRES_DB: immich
|
|
|
|
ports:
|
2024-08-30 12:04:02 +00:00
|
|
|
- 5435:5432
|