-
Notifications
You must be signed in to change notification settings - Fork 32
/
docker-compose.ci.yml
63 lines (63 loc) · 1.52 KB
/
docker-compose.ci.yml
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
52
53
54
55
56
57
58
59
60
61
62
63
services:
db:
restart: "no"
redis:
restart: "no"
api:
image: ${API_IMAGE-openconceptlab/oclapi2:latest}
build: .
environment:
- ENVIRONMENT=ci
volumes:
- .:/code
restart: "no"
depends_on:
- db
- es
celery:
image: ${API_IMAGE-openconceptlab/oclapi2:latest}
build: .
volumes:
- .:/code
command: ["bash", "-c", "CELERY_WORKER_NAME=default ./start_celery_worker.sh -P prefork -Q default -c 1"]
restart: "no"
celery_indexing:
image: ${API_IMAGE-openconceptlab/oclapi2:latest}
build: .
volumes:
- .:/code
command: ["bash", "-c", "CELERY_WORKER_NAME=indexing ./start_celery_worker.sh -P prefork -Q indexing -c 1"]
restart: "no"
celery_concurrent:
image: ${API_IMAGE-openconceptlab/oclapi2:latest}
build: .
volumes:
- .:/code
command: ["bash", "-c", "CELERY_WORKER_NAME=concurrent ./start_celery_worker.sh -P prefork -Q concurrent -c 1"]
restart: "no"
celery_bulk_import_0_1:
image: ${API_IMAGE-openconceptlab/oclapi2:latest}
build: .
volumes:
- .:/code
restart: "no"
celery_bulk_import_0_2:
image: ${API_IMAGE-openconceptlab/oclapi2:latest}
build: .
volumes:
- .:/code
restart: "no"
celery_bulk_import_root:
image: ${API_IMAGE-openconceptlab/oclapi2:latest}
build: .
volumes:
- .:/code
restart: "no"
flower:
image: ${API_IMAGE-openconceptlab/oclapi2:latest}
build: .
volumes:
- .:/code
restart: "no"
es:
restart: "no"