Skip to content

MD Express: Issues with .env and docker-compose file #141

@chezhia

Description

@chezhia

There are 2 minor issues with the MD Express docker-compose.yml and .env file that prevents launching the services without modifications:

  1. In the .env file, the TASK_MANAGER_DATA has an additional $PWD that is not present in other DATA variables and throws an error when launched. The error arises due to docker-compose assuming $PWD as a named volume.

Named volume "$PWD/.md/mdtm:/var/lib/monai:rw" is used in service "task-manager" but no declaration was found in the volumes section.

Edit - Saw this issue in the FAQ section, Why does only the TASK_MANAGER_DATA need $PWD though? isn't .md/ already assuming the docker-compose up is run from the MDE working directory?

  1. If the idea is to use the .env file to set the desired data directories, the data volume for elasticsearch service should also be defined there, instead of directly assigning it to .md/esdata in the docker-compose.yml file.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions