forked from WycliffeAssociates/DOC
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.api-docx-test.yml
More file actions
35 lines (32 loc) · 1.02 KB
/
Copy pathdocker-compose.api-docx-test.yml
File metadata and controls
35 lines (32 loc) · 1.02 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
version: "3"
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
entrypoint: pytest
command: ["-v", "-m", "docx", "-n", "auto"]
environment:
BACKEND_API_URL: http://localhost:5005
FILE_SERVER_URL: http://localhost:8089
LOGROCKET_ID: ${LOGROCKET_ID:-ct7zyg/interleaved-resource-generator}
CELERY_BROKER_URL: ${CELERY_BROKER_URL:-redis://redis:6379/0}
CELERY_RESULT_BACKEND: ${CELERY_RESULT_BACKEND:-redis://redis:6379/0}
FLOWER_PORT: 5555
FROM_EMAIL_ADDRESS: ${FROM_EMAIL_ADDRESS}
SMTP_PASSWORD: ${SMTP_PASSWORD}
SMTP_HOST: ${SMTP_HOST}
SMTP_PORT: ${SMTP_PORT}
SEND_EMAIL: ${SEND_EMAIL}
volumes:
- shared:/app/document_output
volumes:
shared: