Skip to content

Commit

Permalink
Update local and build in local
Browse files Browse the repository at this point in the history
  • Loading branch information
cl117 committed Sep 13, 2024
1 parent 14e29ba commit 21e58ed
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 10 deletions.
2 changes: 1 addition & 1 deletion flask/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"uclust_identity": "0.8",
"elasticsearch_index_name": "part",
"pagerank_tolerance": "0.0001",
"elasticsearch_endpoint": "http://localhost:9200/",
"elasticsearch_endpoint": "http://elasticsearch:9200/",
"sparql_endpoint": "http://localhost:8890/sparql?",
"last_update_start": "none",
"last_update_end": "none",
Expand Down
2 changes: 1 addition & 1 deletion flask/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@ RUN mkdir /mnt/config && \
rm -rf dumps && \
ln -s /mnt/data dumps

CMD sh -c ". ../../jammy/bin/activate && ./start.sh"
CMD sh -c ". ../../jammy/bin/activate && ./start.sh && cat config.json"
2 changes: 1 addition & 1 deletion flask/docker/Dockerfile-synbiohub
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ RUN mkdir /mnt/config && \

ADD config-synbiohub.json /mnt/config/config.json

CMD sh -c ". ../../jammy/bin/activate && ./start.sh"
CMD sh -c ". ../../jammy/bin/activate && ./start.sh && cat config.json"
18 changes: 11 additions & 7 deletions flask/docker/config-synbiohub.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
{
"distributed_search": true,
"elasticsearch_endpoint": "http://elasticsearch:9200/",
"elasticsearch_index_name": "part",
"pagerank_tolerance": "0.0001",
"sparql_endpoint": "http://virtuoso:8890/sparql?",
"synbiohub_public_graph": "https://synbiohub.utah.edu/public",
"uclust_identity": "0.8"
"uclust_identity": "0.8",
"elasticsearch_index_name": "part",
"pagerank_tolerance": "0.0001",
"elasticsearch_endpoint": "http://elasticsearch:9200/",
"sparql_endpoint": "http://localhost:8890/sparql?",
"last_update_start": "none",
"last_update_end": "none",
"distributed_search": false,
"which_search": "vsearch",
"autoUpdateIndex": false,
"updateTimeInDays": "1"
}

0 comments on commit 21e58ed

Please sign in to comment.