|
2 | 2 | ## $ docker-compose up
|
3 | 3 |
|
4 | 4 | CMD:
|
5 |
| - image: lucida3 |
| 5 | + image: gcr.io/kuberlucida/lucida:20160606 |
6 | 6 | ports:
|
7 | 7 | - "3000:3000"
|
8 |
| - command: bash -c "cd commandcenter/; python app.py" |
| 8 | + command: bash -c "export DOCKER=True && cd commandcenter/; python app.py" |
9 | 9 | links:
|
10 |
| - - DB |
| 10 | + - mongo |
11 | 11 | - IMM
|
12 | 12 | - QA
|
13 |
| - # - ensemble |
| 13 | + - ensemble |
14 | 14 | - CA
|
15 | 15 |
|
16 |
| -DB: |
| 16 | +mongo: |
17 | 17 | volumes:
|
18 | 18 | - mongoData:/data/db
|
19 | 19 | image: mongo:3.0.2
|
|
30 | 30 | - "8089:8089" # asr FE
|
31 | 31 |
|
32 | 32 | IMM:
|
33 |
| - image: lucida3 |
34 |
| - command: bash -c "cd imagematching/opencv_imm/server/; ./imm_server" |
| 33 | + image: gcr.io/kuberlucida/lucida:20160606 |
| 34 | + command: bash -c "export DOCKER=True && cd imagematching/opencv_imm/server/; ./imm_server" |
35 | 35 | links:
|
36 | 36 | - QA
|
37 |
| - - DB |
| 37 | + - mongo |
38 | 38 |
|
39 | 39 | QA:
|
40 |
| - image: lucida3 |
| 40 | + image: gcr.io/kuberlucida/lucida:20160606 |
41 | 41 | volumes:
|
42 | 42 | - OpenEphyraData:/usr/local/lucida/lucida/questionanswering/OpenEphyra/db
|
43 | 43 | command: bash -c "cd questionanswering/OpenEphyra/; java -Djava.library.path=lib/search/ -classpath bin:lib/learn/jsoup-1.8.3.jar:lib/ml/maxent.jar:lib/ml/minorthird.jar:lib/nlp/jwnl.jar:lib/nlp/lingpipe.jar:lib/nlp/opennlp-tools.jar:lib/nlp/plingstemmer.jar:lib/nlp/snowball.jar:lib/nlp/stanford-ner.jar:lib/nlp/stanford-parser.jar:lib/nlp/stanford-postagger.jar:lib/qa/javelin.jar:lib/search/bing-search-java-sdk.jar:lib/search/googleapi.jar:lib/search/indri.jar:lib/search/yahoosearch.jar:lib/thrift/libthrift-0.9.2.jar:lib/thrift/log4j-1.2.14.jar:lib/thrift/slf4j-api-1.5.8.jar:lib/thrift/slf4j-log4j12-1.5.8.jar:lib/util/commons-logging.jar:lib/util/gson.jar:lib/util/htmlparser.jar:lib/util/jetty-all.jar:lib/util/log4j.jar:lib/util/servlet-api.jar:lib/util/trove.jar lucida.main.QADaemon"
|
| 44 | + ports: |
| 45 | + - "8083:8083" # so that "QA_PORT_8083_TCP_ADDR" can be accessed by IMM |
44 | 46 |
|
45 | 47 | CA:
|
46 |
| - image: lucida3 |
| 48 | + image: gcr.io/kuberlucida/lucida:20160606 |
47 | 49 | command: bash -c "cd calendar/; ./gradlew run"
|
48 | 50 |
|
49 |
| -# dbpedia: |
50 |
| -# image: fuseki |
51 |
| -# ports: |
52 |
| -# - "3037:3037" |
53 |
| -# volumes: |
54 |
| -# - /home/daedalus/QAEnsemble/data/db/:/jena-fuseki-1.1.1/db/ |
55 |
| -# command: ./fuseki-server --port 3037 --loc db /dbpedia |
| 51 | +dbpedia: |
| 52 | + image: fuseki |
| 53 | + ports: |
| 54 | + - "3037:3037" |
| 55 | + volumes: |
| 56 | + - /home/daedalus/QAEnsemble/data/db/:/jena-fuseki-1.1.1/db/ |
| 57 | + command: ./fuseki-server --port 3037 --loc db /dbpedia |
56 | 58 |
|
57 |
| -# enwiki: |
58 |
| -# image: solr |
59 |
| -# ports: |
60 |
| -# - "8983:8983" |
61 |
| -# volumes: |
62 |
| -# - /home/daedalus/QAEnsemble/data/enwiki/collection1/:/solr-4.6.0/example/enwiki/collection1/ |
63 |
| -# command: java -Dsolr.solr.home=enwiki -jar start.jar |
| 59 | +enwiki: |
| 60 | + image: solr |
| 61 | + ports: |
| 62 | + - "8983:8983" |
| 63 | + volumes: |
| 64 | + - /home/daedalus/QAEnsemble/data/enwiki/collection1/:/solr-4.6.0/example/enwiki/collection1/ |
| 65 | + command: java -Dsolr.solr.home=enwiki -jar start.jar |
64 | 66 |
|
65 |
| -# freebase: |
66 |
| -# image: fuseki |
67 |
| -# ports: |
68 |
| -# - "3030:3030" |
69 |
| -# volumes: |
70 |
| -# - /home/daedalus/QAEnsemble/data/d-freebase/:/jena-fuseki-1.1.1/d-freebase/ |
71 |
| -# command: ./fuseki-server --loc d-freebase /freebase |
| 67 | +freebase: |
| 68 | + image: fuseki |
| 69 | + ports: |
| 70 | + - "3030:3030" |
| 71 | + volumes: |
| 72 | + - /home/daedalus/QAEnsemble/data/d-freebase/:/jena-fuseki-1.1.1/d-freebase/ |
| 73 | + command: ./fuseki-server --loc d-freebase /freebase |
72 | 74 |
|
73 |
| -# label1: |
74 |
| -# image: labels |
75 |
| -# ports: |
76 |
| -# - "5000:5000" |
77 |
| -# volumes: |
78 |
| -# - /home/daedalus/QAEnsemble/data/labels/:/shared |
79 |
| -# command: pypy /label-lookup/lookup-service.py /shared/sorted_list.dat |
| 75 | +label1: |
| 76 | + image: labels |
| 77 | + ports: |
| 78 | + - "5000:5000" |
| 79 | + volumes: |
| 80 | + - /home/daedalus/QAEnsemble/data/labels/:/shared |
| 81 | + command: pypy /label-lookup/lookup-service.py /shared/sorted_list.dat |
80 | 82 |
|
81 |
| -# label2: |
82 |
| -# image: labels |
83 |
| -# ports: |
84 |
| -# - "5001:5001" |
85 |
| -# volumes: |
86 |
| -# - /home/daedalus/QAEnsemble/data/labels/:/shared |
87 |
| -# command: pypy /label-lookup/lookup-service-sqlite.py /shared/labels.db |
| 83 | +label2: |
| 84 | + image: labels |
| 85 | + ports: |
| 86 | + - "5001:5001" |
| 87 | + volumes: |
| 88 | + - /home/daedalus/QAEnsemble/data/labels/:/shared |
| 89 | + command: pypy /label-lookup/lookup-service-sqlite.py /shared/labels.db |
88 | 90 |
|
89 |
| -# webqa: |
90 |
| -# image: webqa |
91 |
| -# ports: |
92 |
| -# - "4000:4000" |
93 |
| -# volumes: |
94 |
| -# - /home/daedalus/QAEnsemble/00keys/webqa:/qaservice/conf |
95 |
| -# command: ./gradlew runRestBackend |
| 91 | +webqa: |
| 92 | + image: webqa |
| 93 | + ports: |
| 94 | + - "4000:4000" |
| 95 | + volumes: |
| 96 | + - /home/daedalus/QAEnsemble/00keys/webqa:/qaservice/conf |
| 97 | + command: ./gradlew runRestBackend |
96 | 98 |
|
97 |
| -# yoda_offline: |
98 |
| -# image: yoda_offline_tested |
99 |
| -# links: |
100 |
| -# - enwiki:enwiki |
101 |
| -# - dbpedia:dbpedia |
102 |
| -# - freebase:freebase |
103 |
| -# - label1:label1 |
104 |
| -# - label2:label2 |
105 |
| -# ports: |
106 |
| -# - "4567:4567" |
107 |
| -# command: ./gradlew web -q -Dcz.brmlab.yodaqa.dbpediaurl="http://dbpedia:3037/dbpedia/query" -Dcz.brmlab.yodaqa.freebaseurl="http://freebase:3030/freebase/query" -Dcz.brmlab.yodaqa.solrurl="http://enwiki:8983/solr" -Dcz.brmlab.yodaqa.label1url="http://label1:5000" -Dcz.brmlab.yodaqa.label2url="http://label2:5001" |
| 99 | +yoda_offline: |
| 100 | + image: yoda_offline_tested |
| 101 | + links: |
| 102 | + - enwiki:enwiki |
| 103 | + - dbpedia:dbpedia |
| 104 | + - freebase:freebase |
| 105 | + - label1:label1 |
| 106 | + - label2:label2 |
| 107 | + ports: |
| 108 | + - "4567:4567" |
| 109 | + command: ./gradlew web -q -Dcz.brmlab.yodaqa.dbpediaurl="http://dbpedia:3037/dbpedia/query" -Dcz.brmlab.yodaqa.freebaseurl="http://freebase:3030/freebase/query" -Dcz.brmlab.yodaqa.solrurl="http://enwiki:8983/solr" -Dcz.brmlab.yodaqa.label1url="http://label1:5000" -Dcz.brmlab.yodaqa.label2url="http://label2:5001" |
108 | 110 |
|
109 |
| -# ensemble: |
110 |
| -# image: ensemble |
111 |
| -# links: |
112 |
| -# - yoda_offline:yoda_offline |
113 |
| -# - webqa:webqa |
114 |
| -# ports: |
115 |
| -# - "9090:9090" |
116 |
| -# - "9091:9091" |
117 |
| -# command: ./gradlew runThriftBackend -Dde.rwthaachen.ensemble.webqaurl="http://webqa:4000" -Dde.rwthaachen.ensemble.webqaurl="http://yoda_offline:4567" |
| 111 | +ensemble: |
| 112 | + image: ensemble |
| 113 | + links: |
| 114 | + - yoda_offline:yoda_offline |
| 115 | + - webqa:webqa |
| 116 | + ports: |
| 117 | + - "9090:9090" |
| 118 | + - "9091:9091" |
| 119 | + command: ./gradlew runThriftBackend -Dde.rwthaachen.ensemble.webqaurl="http://webqa:4000" -Dde.rwthaachen.ensemble.yodaqaurl="http://yoda_offline:4567" -Dwordnet.database.dir=/home/fp/Downloads/WordNet-3.0/dict |
0 commit comments