-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose.api-test.yml
More file actions
51 lines (48 loc) · 1.5 KB
/
docker-compose.api-test.yml
File metadata and controls
51 lines (48 loc) · 1.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
services:
frontend:
# use nginx as a mock frontend since the frontend isn't built or used at this stage
image: nginx:alpine
test-runner:
image: wycliffeassociates/doc:${IMAGE_TAG}
depends_on:
api:
condition: service_healthy
worker:
condition: service_healthy
fileserver:
condition: service_healthy
celery-dashboard:
condition: service_started
entrypoint: pytest
command: [
"-vvv",
"--log-cli-level=DEBUG",
# "--maxfail=10",
"-m",
# "all",
# "usfm_fixes",
# "randomized",
# "focus",
# "stet",
# "passages",
"not all and not randomized and not english_randomized",
"-n",
"auto",
"/app/tests/unit",
"/app/tests/e2e",
]
environment:
PUBLIC_BACKEND_API_URL: ${PUBLIC_BACKEND_API_URL:-http://localhost:5005}
PUBLIC_FILE_SERVER_URL: ${PUBLIC_FILE_SERVER_URL:-http://localhost:8089}
PUBLIC_LOGROCKET_ID: ${PUBLIC_LOGROCKET_ID:-ct7zyg/bible-in-every-language}
CELERY_BROKER_URL: ${CELERY_BROKER_URL:-redis://redis:6379/0}
CELERY_RESULT_BACKEND: ${CELERY_RESULT_BACKEND:-redis://redis:6379/0}
FROM_EMAIL_ADDRESS: ${FROM_EMAIL_ADDRESS:-foo@example.com}
SMTP_PASSWORD: ${SMTP_PASSWORD:-fakepass}
SMTP_HOST: ${SMTP_HOST:-smtp.example.com}
SMTP_PORT: ${SMTP_PORT:-111}
SEND_EMAIL: ${SEND_EMAIL:-False}
volumes:
- shared:/app/document_output
volumes:
shared: