forked from WycliffeAssociates/auto-irg-experimental
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
36 lines (33 loc) · 804 Bytes
/
docker-compose.yml
File metadata and controls
36 lines (33 loc) · 804 Bytes
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
version: '3'
services:
api:
image: wycliffeassociates/doc:develop
env_file:
- .env
expose:
- 80
volumes:
- doc_docker_pdf_output:/document_output
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost/health/status"]
interval: 60s
timeout: 5s
retries: 3
start_period: 5s
pipeline:
build: .
init: true
environment:
PDFS_DIR: 'https://irgdownloaddev.walink.org/'
IRG_ENDPOINT: http://api/documents
THREAD_COUNT: 5
MAX_RUN_TIME_IN_MINS: 660
RUN_AT_TIME: "00:00:01" # midnight UTC
volumes:
- doc_docker_pdf_output:/app/output
depends_on:
api:
condition: service_healthy
volumes:
doc_docker_pdf_output:
external: true