From 4bdc4e36775de9e54492a6fd81bc12799cd712e2 Mon Sep 17 00:00:00 2001 From: Thomas Wood Date: Sat, 24 Jun 2023 20:10:45 +0100 Subject: [PATCH] connect to Tika --- front_end/docker-compose.yml | 32 +++++++++++++++++++------------- 1 file changed, 19 insertions(+), 13 deletions(-) diff --git a/front_end/docker-compose.yml b/front_end/docker-compose.yml index c92a692..a7dfe06 100644 --- a/front_end/docker-compose.yml +++ b/front_end/docker-compose.yml @@ -1,14 +1,20 @@ -version: "3" +version: '3.3' + services: - protocols-front: - image: regprotocolsfds.azurecr.io/protocols-front - build: . - ports: - - "80:80" - environment: - - TIKA_SERVER_ENDPOINT=http://protocols-tika:9998 - protocols-tika: - image: regprotocolsfds.azurecr.io/protocols-tika - build: ./tika - ports: - - "9998:9998" \ No newline at end of file + api: + image: fastdatascience/clinical_trial_risk:20230623214440_cf82f4e + depends_on: + - tika + ports: + - "8000:80" + restart: always + environment: + DOWNLOAD_DIRECTORY: /downloads + TIKA_SERVER_ENDPOINT: http://tika:9998 + + + tika: + image: apache/tika:2.8.0.0-full + ports: + - "9998:9998" + restart: always