who_need_help/compose.e2e.yaml

39 lines
974 B
YAML

services:
migrate:
image: who-need-help:e2e
pull_policy: never
build:
args:
WNH_E2E_SSL_EXCLUDE_HOST: proxy
web:
image: who-need-help:e2e
pull_policy: never
worker:
image: who-need-help:e2e
pull_policy: never
e2e:
image: who-need-help-e2e-tests:local
build:
context: e2e
init: true
ipc: host
user: "${E2E_UID:-1000}:${E2E_GID:-1000}"
environment:
BASE_URL: ${E2E_BASE_URL:?Set E2E_BASE_URL in the generated E2E environment}
MAILPIT_URL: ${E2E_MAILPIT_URL:?Set E2E_MAILPIT_URL in the generated E2E environment}
HOME: /tmp
CI: ${CI:-}
NO_PROXY: web,mailpit,db,proxy,localhost,127.0.0.1
no_proxy: web,mailpit,db,proxy,localhost,127.0.0.1
depends_on:
web:
condition: service_healthy
mailpit:
condition: service_started
volumes:
- ${E2E_OUTPUT_DIR:?Set an ignored E2E_OUTPUT_DIR}:/work/output
networks: [internal]