diff --git a/flask/config.json b/flask/config.json index a188e64..ceceb42 100644 --- a/flask/config.json +++ b/flask/config.json @@ -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", diff --git a/flask/docker/Dockerfile b/flask/docker/Dockerfile index f071d46..80ae65f 100644 --- a/flask/docker/Dockerfile +++ b/flask/docker/Dockerfile @@ -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" diff --git a/flask/docker/Dockerfile-synbiohub b/flask/docker/Dockerfile-synbiohub index 16e271d..3d25fcd 100644 --- a/flask/docker/Dockerfile-synbiohub +++ b/flask/docker/Dockerfile-synbiohub @@ -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" diff --git a/flask/docker/config-synbiohub.json b/flask/docker/config-synbiohub.json index 1ecfca0..6db3215 100644 --- a/flask/docker/config-synbiohub.json +++ b/flask/docker/config-synbiohub.json @@ -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" }