Skip to content

Commit

Permalink
specify the functionalAccounts.json path for be-next container
Browse files Browse the repository at this point in the history
  • Loading branch information
sofyalaski authored and minottic committed Jun 5, 2024
1 parent 8ab231d commit f223578
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dev/config/backend_next/.env
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 5 additions & 2 deletions dev/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -30,13 +28,17 @@ services:
extends: mongodb_seed
environment:
- DATABASE=be
depends_on:
- mongodb
profiles:
- be

mongodb_seed_be_next:
extends: mongodb_seed
environment:
- DATABASE=be_next
depends_on:
- mongodb
profiles:
- be_next

Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit f223578

Please sign in to comment.