summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docker-compose.yml18
1 files changed, 18 insertions, 0 deletions
diff --git a/docker-compose.yml b/docker-compose.yml
index c320e43..6720d4d 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -27,6 +27,7 @@ services:
- vaindock_apigrabber_tournament
- vaindock_cruncher
- analyzer
+ - analyzer_tournament
backend_light:
image: tianon/true
@@ -166,6 +167,8 @@ services:
- CRUNCH_TOURNAMENT_QUEUE=crunch_tournament
- SAMPLE_QUEUE=sample
- SHOVEL_SIZE=50000
+ - ANALYZE_QUEUE=analyze
+ - ANALYZE_TOURNAMENT_QUEUE=analyze_tournament
env_file:
- local.env
@@ -326,6 +329,21 @@ services:
- DATABASE_URI=mysql+cymysql://vainweb:vainweb@vaindock_db-web/vainweb
- BATCHSIZE=500
- CHUNKSIZE=100
+ - QUEUE=analyze
+
+ analyzer_tournament:
+ build: ../analyzer
+ volumes:
+ - ../analyzer:/usr/src/app
+ depends_on:
+ - vaindock_queue
+ - vaindock_db-tournament
+ environment:
+ - RABBITMQ_URI=amqp://analyzer:analyzer@vaindock_queue/
+ - DATABASE_URI=mysql+cymysql://vaintournament:vaintournament@vaindock_db-tournament/vaintournament
+ - QUEUE=analyze_tournament
+ - BATCHSIZE=500
+ - CHUNKSIZE=100
vaindock_db-web:
image: mariadb:10