Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

516 update compose files #519

Merged
merged 2 commits into from
Aug 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
54 changes: 0 additions & 54 deletions docker-compose.common.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
version: "3"

services:
db:
image: postgres:13
Expand Down Expand Up @@ -32,58 +30,6 @@ services:
depends_on:
- db

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

priority_queue:
build: .
command: wait-for-it web:8000 -- python manage_purldb.py priority_queue
Expand Down
2 changes: 0 additions & 2 deletions docker-compose.matchcodeio.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
version: "3"

services:
matchcodeio_db:
image: postgres:13
Expand Down
55 changes: 55 additions & 0 deletions docker-compose.miners.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,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
2 changes: 0 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
version: "3.7"

include:
- docker-compose.common.yml

Expand Down
Loading