From f223578201826e2fd2db551668b49adc0b40c109 Mon Sep 17 00:00:00 2001 From: sofyalaski Date: Mon, 25 Mar 2024 10:18:25 +0100 Subject: [PATCH] specify the functionalAccounts.json path for be-next container --- dev/config/backend_next/.env | 2 +- dev/docker-compose.yaml | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/dev/config/backend_next/.env b/dev/config/backend_next/.env index 26ee074..5e7757a 100644 --- a/dev/config/backend_next/.env +++ b/dev/config/backend_next/.env @@ -5,7 +5,7 @@ PORT=3000 HTTP_MAX_REDIRECTS=5 HTTP_TIMEOUT=5000 JWT_EXPIRES_IN=3600 -LOGGING_DISABLED=True +LOGGING_DISABLED=False SITE=PSI PID_PREFIX=PID.SAMPLE.PREFIX DOI_PREFIX=DOI.SAMPLE.PREFIX diff --git a/dev/docker-compose.yaml b/dev/docker-compose.yaml index b65eb1c..2fb6a33 100644 --- a/dev/docker-compose.yaml +++ b/dev/docker-compose.yaml @@ -20,8 +20,6 @@ services: - "-c" - "chmod u+x /mnt/mongo_import.sh && /mnt/mongo_import.sh" user: "0:0" - depends_on: - - mongodb restart: on-failure profiles: - never @@ -30,6 +28,8 @@ services: extends: mongodb_seed environment: - DATABASE=be + depends_on: + - mongodb profiles: - be @@ -37,6 +37,8 @@ services: extends: mongodb_seed environment: - DATABASE=be_next + depends_on: + - mongodb profiles: - be_next @@ -87,6 +89,7 @@ services: - ../scicat-backend-next:/home/node/app - /home/node/app/node_modules - /home/node/app/dist + - ../scicat-backend-next/functionalAccounts.json.minimal.example:home/node/app/functionalAccounts.json env_file: ./config/backend_next/.env command: /bin/sh -c "while true; do sleep 600; done" profiles: