adae5dd758
* feat(web): SPA * chore: remove unnecessary prune * feat(web): merge with immich-server * Correct method name * fix: bugs, docs, workflows, etc. * chore: keep dockerignore for dev * chore: remove license * fix: expose 2283 --------- Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
33 lines
783 B
YAML
33 lines
783 B
YAML
version: "3.8"
|
|
|
|
name: "immich-test-e2e"
|
|
|
|
services:
|
|
immich-server:
|
|
image: immich-server-dev:latest
|
|
build:
|
|
context: ../
|
|
dockerfile: server/Dockerfile
|
|
target: dev
|
|
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:50d9be76e9a90da4c781554955e0ffc79d9d5c4226838e64b36aacc97cbc35ad
|
|
command: -c fsync=off
|
|
environment:
|
|
POSTGRES_PASSWORD: postgres
|
|
POSTGRES_USER: postgres
|
|
POSTGRES_DB: e2e_test
|
|
logging:
|
|
driver: none
|