From 5d752344fcf12dc25e30d5b7be41958d1a94cd63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Sicard?= Date: Tue, 29 Aug 2023 17:44:10 +0200 Subject: [PATCH] docker-compose: adds new frontend --- docker-compose.yml | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 2f44068..424091d 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -19,6 +19,21 @@ services: volumes: - un-semun-api-data:/var/lib/un-semun-api + un-semun-frontend: + build: + context: ./un-semun-front + dockerfile: Dockerfile + ports: + - "${UN_SEMUN_FRONTEND_PORT}:8080" + environment: + # Make sure you set the correct UN_API env variable value in the shell + # from which you run docker-compose up. + - UN_API + - GRAPHDB_URL=neo4j + depends_on: + - un-semun-api + restart: on-failure + un-ml-pipeline: build: context: ./un-ml-pipeline @@ -54,5 +69,4 @@ services: volumes: un-semun-api-data: - un-semun-frontend-data: un-ml-pipeline-data: