Skip to content

Commit 1b238ba

Browse files
authored
Merge pull request #519 from nexB/516-update-docker-files
516 update compose files
2 parents b0761cc + 56103e6 commit 1b238ba

File tree

4 files changed

+55
-58
lines changed

4 files changed

+55
-58
lines changed

docker-compose.common.yml

Lines changed: 0 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
version: "3"
2-
31
services:
42
db:
53
image: postgres:13
@@ -32,58 +30,6 @@ services:
3230
depends_on:
3331
- db
3432

35-
visitor:
36-
build: .
37-
command: sh -c "
38-
wait-for-it web:8000 -- python manage_purldb.py seed &&
39-
python manage_purldb.py run_visit --ignore-robots --ignore-throttle"
40-
env_file:
41-
- docker_purldb.env
42-
volumes:
43-
- /etc/purldb/:/etc/purldb/
44-
profiles:
45-
- visit_and_map
46-
depends_on:
47-
- db
48-
- web # Ensure that potential db migrations run first
49-
50-
mapper:
51-
build: .
52-
command: wait-for-it web:8000 -- python manage_purldb.py run_map
53-
env_file:
54-
- docker_purldb.env
55-
volumes:
56-
- /etc/purldb/:/etc/purldb/
57-
profiles:
58-
- visit_and_map
59-
depends_on:
60-
- db
61-
- web # Ensure that potential db migrations run first
62-
63-
clearsync:
64-
build: .
65-
command: wait-for-it web:8000 -- clearsync --save-to-db --verbose -n 3
66-
env_file:
67-
- docker_purldb.env
68-
volumes:
69-
- /etc/purldb/:/etc/purldb/
70-
profiles:
71-
- clearsync
72-
depends_on:
73-
- db
74-
- web # Ensure that potential db migrations run first
75-
76-
clearindex:
77-
build: .
78-
command: wait-for-it web:8000 -- python manage_purldb.py run_clearindex
79-
env_file:
80-
- docker_purldb.env
81-
profiles:
82-
- clearsync
83-
depends_on:
84-
- db
85-
- web # Ensure that potential db migrations run first
86-
8733
priority_queue:
8834
build: .
8935
command: wait-for-it web:8000 -- python manage_purldb.py priority_queue

docker-compose.matchcodeio.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
version: "3"
2-
31
services:
42
matchcodeio_db:
53
image: postgres:13

docker-compose.miners.yml

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
include:
2+
- docker-compose.common.yml
3+
4+
services:
5+
visitor:
6+
build: .
7+
command: sh -c "
8+
wait-for-it web:8000 -- python manage_purldb.py seed &&
9+
python manage_purldb.py run_visit --ignore-robots --ignore-throttle"
10+
env_file:
11+
- docker_purldb.env
12+
volumes:
13+
- /etc/purldb/:/etc/purldb/
14+
profiles:
15+
- visit_and_map
16+
depends_on:
17+
- db
18+
- web # Ensure that potential db migrations run first
19+
20+
mapper:
21+
build: .
22+
command: wait-for-it web:8000 -- python manage_purldb.py run_map
23+
env_file:
24+
- docker_purldb.env
25+
volumes:
26+
- /etc/purldb/:/etc/purldb/
27+
profiles:
28+
- visit_and_map
29+
depends_on:
30+
- db
31+
- web # Ensure that potential db migrations run first
32+
33+
clearsync:
34+
build: .
35+
command: wait-for-it web:8000 -- clearsync --save-to-db --verbose -n 3
36+
env_file:
37+
- docker_purldb.env
38+
volumes:
39+
- /etc/purldb/:/etc/purldb/
40+
profiles:
41+
- clearsync
42+
depends_on:
43+
- db
44+
- web # Ensure that potential db migrations run first
45+
46+
clearindex:
47+
build: .
48+
command: wait-for-it web:8000 -- python manage_purldb.py run_clearindex
49+
env_file:
50+
- docker_purldb.env
51+
profiles:
52+
- clearsync
53+
depends_on:
54+
- db
55+
- web # Ensure that potential db migrations run first

docker-compose.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
version: "3.7"
2-
31
include:
42
- docker-compose.common.yml
53

0 commit comments

Comments
 (0)