mirror of
https://github.com/immich-app/immich.git
synced 2024-11-25 09:01:22 +02:00
413ab2c538
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
34 lines
786 B
YAML
34 lines
786 B
YAML
version: "3.8"
|
|
|
|
name: "immich-test-e2e"
|
|
|
|
services:
|
|
immich-server:
|
|
image: immich-server-dev:latest
|
|
build:
|
|
context: ../server
|
|
dockerfile: Dockerfile
|
|
target: builder
|
|
command: npm run test:e2e
|
|
volumes:
|
|
- ../server:/usr/src/app
|
|
- /usr/src/app/node_modules
|
|
environment:
|
|
- DB_HOSTNAME=database
|
|
- DB_USERNAME=postgres
|
|
- DB_PASSWORD=postgres
|
|
- DB_DATABASE_NAME=e2e_test
|
|
- IMMICH_RUN_ALL_TESTS=true
|
|
depends_on:
|
|
- database
|
|
|
|
database:
|
|
image: postgres:14-alpine@sha256:874f566dd512d79cf74f59754833e869ae76ece96716d153b0fa3e64aec88d92
|
|
command: -c fsync=off
|
|
environment:
|
|
POSTGRES_PASSWORD: postgres
|
|
POSTGRES_USER: postgres
|
|
POSTGRES_DB: e2e_test
|
|
logging:
|
|
driver: none
|