generated from aboutcode-org/skeleton
-
Notifications
You must be signed in to change notification settings - Fork 24
/
docker-compose.miners.yml
55 lines (51 loc) · 1.29 KB
/
docker-compose.miners.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
include:
- docker-compose.common.yml
services:
visitor:
build: .
command: sh -c "
wait-for-it web:8000 -- python manage_purldb.py seed &&
python manage_purldb.py run_visit --ignore-robots --ignore-throttle"
env_file:
- docker_purldb.env
volumes:
- /etc/purldb/:/etc/purldb/
profiles:
- visit_and_map
depends_on:
- db
- web # Ensure that potential db migrations run first
mapper:
build: .
command: wait-for-it web:8000 -- python manage_purldb.py run_map
env_file:
- docker_purldb.env
volumes:
- /etc/purldb/:/etc/purldb/
profiles:
- visit_and_map
depends_on:
- db
- web # Ensure that potential db migrations run first
clearsync:
build: .
command: wait-for-it web:8000 -- clearsync --save-to-db --verbose -n 3
env_file:
- docker_purldb.env
volumes:
- /etc/purldb/:/etc/purldb/
profiles:
- clearsync
depends_on:
- db
- web # Ensure that potential db migrations run first
clearindex:
build: .
command: wait-for-it web:8000 -- python manage_purldb.py run_clearindex
env_file:
- docker_purldb.env
profiles:
- clearsync
depends_on:
- db
- web # Ensure that potential db migrations run first